fix #152: add a missing await when triggering multiple notification webhooks
parent
c467650121
commit
19852f15f7
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue