fix #152: add a missing await when triggering multiple notification webhooks
This commit is contained in:
1 parent
c467650121
commit
19852f15f7
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user