Oops I forgot to remove the old second statement

This commit is contained in:
Regalijan 2024-12-05 21:43:59 -05:00
parent c454d2a9df
commit 436427aff0
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -23,7 +23,7 @@ export async function onRequestPost(context: RequestContext) {
await D1.batch([
D1.prepare(
"INSERT INTO et_strikes (created_at, created_by, id, reason, user) VALUES (?, ?, ?, ?, ?); UPDATE et_members SET points = points - 100 WHERE id = ?5;",
"INSERT INTO et_strikes (created_at, created_by, id, reason, user) VALUES (?, ?, ?, ?, ?);",
).bind(now, actingUser, id, reason, user),
D1.prepare(
"UPDATE et_members SET points = points - 100 WHERE id = ?;",