From 49a1d98e0cee1501828ac85e8506a447e1da0193 Mon Sep 17 00:00:00 2001 From: Regalijan Date: Thu, 22 Feb 2024 13:30:56 -0500 Subject: [PATCH] More question marks --- 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 7c95962..b080cf1 100644 --- a/functions/api/events-team/events/new.ts +++ b/functions/api/events-team/events/new.ts @@ -62,7 +62,7 @@ export async function onRequestPost(context: RequestContext) { const id = `${now.getTime()}${crypto.randomUUID().replaceAll("-", "")}`; await context.env.D1.prepare( - "INSERT INTO events (answer, created_at, created_by, day, id, month, type, year) VALUES (?, ?, ?, ?, ?, ?, ?);", + "INSERT INTO events (answer, created_at, created_by, day, id, month, type, year) VALUES (?, ?, ?, ?, ?, ?, ?, ?);", ) .bind( context.data.body.answer || null,