Oops I forgot to remove the old second statement
This commit is contained in:
parent
c454d2a9df
commit
436427aff0
@ -23,7 +23,7 @@ export async function onRequestPost(context: RequestContext) {
|
|||||||
|
|
||||||
await D1.batch([
|
await D1.batch([
|
||||||
D1.prepare(
|
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),
|
).bind(now, actingUser, id, reason, user),
|
||||||
D1.prepare(
|
D1.prepare(
|
||||||
"UPDATE et_members SET points = points - 100 WHERE id = ?;",
|
"UPDATE et_members SET points = points - 100 WHERE id = ?;",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user