Oops I didn't actually change the value
This commit is contained in:
parent
0f6cfb947c
commit
1ba4deed64
@ -5,7 +5,7 @@ export async function onRequestPost(context: RequestContext) {
|
|||||||
return jsonError("This event is already certified", 400);
|
return jsonError("This event is already certified", 400);
|
||||||
|
|
||||||
await context.env.D1.prepare(
|
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)
|
.bind(context.data.event.id)
|
||||||
.run();
|
.run();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user