From 995ed28b23539a60e1e7d51a419298fb912a7b62 Mon Sep 17 00:00:00 2001 From: Regalijan Date: Wed, 20 Nov 2024 16:54:37 -0500 Subject: [PATCH] Re-add missing parameter --- functions/api/events-team/events/[id]/complete.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/api/events-team/events/[id]/complete.ts b/functions/api/events-team/events/[id]/complete.ts index 9817bdc..c2517a8 100644 --- a/functions/api/events-team/events/[id]/complete.ts +++ b/functions/api/events-team/events/[id]/complete.ts @@ -7,6 +7,7 @@ export async function onRequestPost(context: RequestContext) { try { await D1.batch([ D1.prepare("UPDATE events SET performed_at = ? WHERE id = ?;").bind( + Date.now(), event.id, ), D1.prepare(