Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Oopsie lol
  • Loading branch information
regalijan committed Mar 6, 2024
1 parent 41647e6 commit 0927158
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/events-team/team-members/user.ts
Expand Up @@ -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();
Expand Down

0 comments on commit 0927158

Please sign in to comment.