Skip to content

Commit

Permalink
Add console.log to readBody function
Browse files Browse the repository at this point in the history
  • Loading branch information
ploca14 committed Nov 29, 2023
1 parent e48e195 commit 7cf683e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/server/api/files/index.post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ const bodySchema = z.object({
});

export default authedHandler(async (event) => {
console.log(await readBody(event));
const { file } = await parseBodyAs(event as any, bodySchema);
const { user, supabase } = event.context;

Expand Down

0 comments on commit 7cf683e

Please sign in to comment.