javascript moment
All checks were successful
delpoy / build-and-deploy (push) Successful in 35s

This commit is contained in:
bytedream 2023-12-24 01:17:06 +01:00
parent 29d9765a81
commit 3762872e01

View File

@ -157,7 +157,7 @@ export const PATCH = (async ({ request, cookies }) => {
await report.save(); await report.save();
if (webhookTriggerUsers.length > 0 && data.status == 'reviewed' && env.REPORTED_WEBHOOK) { if (webhookTriggerUsers.length > 0 && data.status == 'reviewed' && env.REPORTED_WEBHOOK) {
for (const webhookTriggerUser in webhookTriggerUsers) { for (const webhookTriggerUser of webhookTriggerUsers) {
// no `await` to avoid blocking // no `await` to avoid blocking
webhookUserReported(env.REPORTED_WEBHOOK, webhookTriggerUser); webhookUserReported(env.REPORTED_WEBHOOK, webhookTriggerUser);
} }