mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
add webhook exist validation in balkTrigger()
This commit is contained in:
parent
72f86ce5ef
commit
e8b8a8fe52
1 changed files with 5 additions and 3 deletions
|
|
@ -382,9 +382,11 @@ abstract class Action extends DatabasesAction
|
|||
->from($queueForEvents)
|
||||
->trigger();
|
||||
|
||||
$queueForWebhooks
|
||||
->from($queueForEvents)
|
||||
->trigger();
|
||||
if (!empty($queueForEvents->getProject()->getAttribute('webhooks', []))) {
|
||||
$queueForWebhooks
|
||||
->from($queueForEvents)
|
||||
->trigger();
|
||||
}
|
||||
}
|
||||
|
||||
$queueForEvents->reset();
|
||||
|
|
|
|||
Loading…
Reference in a new issue