Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Oopsie lol
  • Loading branch information
regalijan committed Mar 21, 2024
1 parent 2ba6bf3 commit 0fb7bf6
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions functions/api/reports/[id]/action.ts
Expand Up @@ -44,12 +44,14 @@ export async function onRequestPost(context: RequestContext) {
if (v === 0) continue;

batchedQueries.push(
statement.bind(actionMap[v]),
`https://carcrushers.cc/mod-queue?type=report&id=${context.params.id}`,
Date.now(),
context.data.current_user.id,
crypto.randomUUID(),
parseInt(k),
statement.bind(
actionMap[v],
`https://carcrushers.cc/mod-queue?type=report&id=${context.params.id}`,
Date.now(),
context.data.current_user.id,
crypto.randomUUID(),
parseInt(k),
),
);
}

Expand Down

0 comments on commit 0fb7bf6

Please sign in to comment.