diff --git a/functions/api/inactivity/new.ts b/functions/api/inactivity/new.ts index 199ea8e..3ab1f3d 100644 --- a/functions/api/inactivity/new.ts +++ b/functions/api/inactivity/new.ts @@ -57,7 +57,7 @@ export async function onRequestPost(context: RequestContext) { const webhookPromises = []; for (const departmentWebhook of departmentsToNotify) webhookPromises.push( - await fetch(departmentWebhook, { + fetch(departmentWebhook, { body: JSON.stringify({ embeds: [ {