Oopsie lol
This commit is contained in:
@ -71,7 +71,7 @@ export async function onRequestPatch(context: RequestContext) {
|
||||
|
||||
await context.env.D1.prepare(
|
||||
`UPDATE et_members
|
||||
SET ${updates.join(", ")};`,
|
||||
SET ${updates.map((u) => u.query).join(", ")};`,
|
||||
)
|
||||
.bind(...updates.map((u) => u.value))
|
||||
.run();
|
||||
|
Reference in New Issue
Block a user