diff --git a/functions/api/events-team/events/new.ts b/functions/api/events-team/events/new.ts index 40d1aea..49e4d20 100644 --- a/functions/api/events-team/events/new.ts +++ b/functions/api/events-team/events/new.ts @@ -66,8 +66,8 @@ export async function onRequestPost(context: RequestContext) { ) .bind( context.data.body.answer || null, - now.getTime(), Number(type === "gamenight"), + now.getTime(), context.data.current_user.id, day, details,