Remove unneeded unix time param
This commit is contained in:
@@ -23,7 +23,7 @@ export async function onRequestPost(context: RequestContext) {
|
||||
await D1.batch([
|
||||
D1.prepare(
|
||||
"UPDATE events SET performed_at = CURRENT_TIMESTAMP WHERE id = ?;",
|
||||
).bind(Date.now(), event.id),
|
||||
).bind(event.id),
|
||||
D1.prepare(
|
||||
"UPDATE et_members SET points = points + 10 WHERE id = ?;",
|
||||
).bind(event.created_by),
|
||||
|
||||
Reference in New Issue
Block a user