Oopsie lol

This commit is contained in:
2024-03-21 13:25:37 -04:00
parent 2ba6bf3b23
commit 0fb7bf6686

View File

@ -44,12 +44,14 @@ export async function onRequestPost(context: RequestContext) {
if (v === 0) continue; if (v === 0) continue;
batchedQueries.push( batchedQueries.push(
statement.bind(actionMap[v]), statement.bind(
`https://carcrushers.cc/mod-queue?type=report&id=${context.params.id}`, actionMap[v],
Date.now(), `https://carcrushers.cc/mod-queue?type=report&id=${context.params.id}`,
context.data.current_user.id, Date.now(),
crypto.randomUUID(), context.data.current_user.id,
parseInt(k), crypto.randomUUID(),
parseInt(k),
),
); );
} }