feat: log note data that we get from create api
All checks were successful
create archive with lfs / tag (push) Successful in 9s
All checks were successful
create archive with lfs / tag (push) Successful in 9s
This commit is contained in:
parent
33e3b5b120
commit
f4a74a0113
@ -12,6 +12,7 @@ export const POST = async ({ request }) => {
|
||||
}
|
||||
// get note data
|
||||
const noteData = await request.json()
|
||||
console.log("want to create note with data: ", noteData)
|
||||
if (noteData.content ?? null === null) {
|
||||
return new Response("no rizz :(", { status: 400 })
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user