From 8c9e5d98d381ca4ee3eea549f1b2236df71dbf69 Mon Sep 17 00:00:00 2001 From: Regalijan Date: Wed, 3 Jul 2024 00:30:47 -0400 Subject: [PATCH] Fix creation timestamp of events --- functions/api/events-team/events/new.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,