diff --git a/worker/src/util.ts b/worker/src/util.ts index c3b747f..6fbd54b 100644 --- a/worker/src/util.ts +++ b/worker/src/util.ts @@ -82,7 +82,7 @@ function templateWebhookPlayload(payload: any, message: string) { async function webhookNotify(webhook: WebhookConfig, message: string) { if (Array.isArray(webhook)) { for (const w of webhook) { - webhookNotify(w, message) + await webhookNotify(w, message) } return }