Oopsie lol
This commit is contained in:
@ -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),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user