Oops I didn't actually change the value

This commit is contained in:
Regalijan 2024-02-27 23:45:03 -05:00
parent 0f6cfb947c
commit 1ba4deed64
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -5,7 +5,7 @@ export async function onRequestPost(context: RequestContext) {
return jsonError("This event is already certified", 400);
await context.env.D1.prepare(
"UPDATE events SET reached_minimum_player_count WHERE id = ?;",
"UPDATE events SET reached_minimum_player_count = 1 WHERE id = ?;",
)
.bind(context.data.event.id)
.run();