Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove parentheses
  • Loading branch information
regalijan committed Mar 6, 2024
1 parent 408b869 commit 41647e6
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.join(", ")};`,
)
.bind(...updates.map((u) => u.value))
.run();
Expand Down

0 comments on commit 41647e6

Please sign in to comment.