feat: log note data that we get from create api
All checks were successful
create archive with lfs / tag (push) Successful in 9s

This commit is contained in:
dusk 2024-10-30 18:01:03 +03:00
parent 33e3b5b120
commit f4a74a0113
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

View File

@ -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 })
}