diff --git a/functions/api/events-team/events/[id]/solve.ts b/functions/api/events-team/events/[id]/solve.ts deleted file mode 100644 index 15c1e31..0000000 --- a/functions/api/events-team/events/[id]/solve.ts +++ /dev/null @@ -1,11 +0,0 @@ -export async function onRequestPost(context: RequestContext) { - await context.env.D1.prepare( - "UPDATE events SET answered_at = ? WHERE id = ?;", - ) - .bind(Date.now(), context.data.event.id) - .run(); - - return new Response(null, { - status: 204, - }); -}