From f4a74a01139e174a2d9051f6f74ccdd6f08c778e Mon Sep 17 00:00:00 2001 From: dusk Date: Wed, 30 Oct 2024 18:01:03 +0300 Subject: [PATCH] feat: log note data that we get from create api --- src/routes/log/create/+server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/log/create/+server.ts b/src/routes/log/create/+server.ts index ede0950..92f6fc5 100644 --- a/src/routes/log/create/+server.ts +++ b/src/routes/log/create/+server.ts @@ -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 }) }