From 19852f15f741117bdc9b1ba532783adffa1f3da7 Mon Sep 17 00:00:00 2001 From: lyc8503 Date: Sun, 4 Jan 2026 22:16:10 +0800 Subject: [PATCH] fix #152: add a missing await when triggering multiple notification webhooks --- worker/src/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }