From 0fb7bf66868e337edbd5294aedf1a235c7e6e568 Mon Sep 17 00:00:00 2001 From: Regalijan Date: Thu, 21 Mar 2024 13:25:37 -0400 Subject: [PATCH] Oopsie lol --- functions/api/reports/[id]/action.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/functions/api/reports/[id]/action.ts b/functions/api/reports/[id]/action.ts index 12f72e8..86844e2 100644 --- a/functions/api/reports/[id]/action.ts +++ b/functions/api/reports/[id]/action.ts @@ -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), + ), ); }