Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Webhook requests should be concurrent
  • Loading branch information
regalijan committed Feb 18, 2024
1 parent c50cc97 commit a275424
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/inactivity/new.ts
Expand Up @@ -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: [
{
Expand Down

0 comments on commit a275424

Please sign in to comment.