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

pull/177/head
lyc8503 2026-01-04 22:16:10 +08:00
parent c467650121
commit 19852f15f7
1 changed files with 1 additions and 1 deletions

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
}