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