fix #152: add a missing await when triggering multiple notification webhooks

This commit is contained in:
lyc8503 committed 2026-01-04 22:16:10 +08:00
1 parent c467650121
commit 19852f15f7
1 file changed
+1 -1
+1 -1
View File
@@ -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
}