add id to call webhook

This commit is contained in:
osaajani 2021-03-26 17:59:09 +01:00
parent 6ce6a85f13
commit 626b59080e
1 changed files with 2 additions and 0 deletions

View File

@ -81,6 +81,8 @@ namespace controllers\internals;
{ {
return false; return false;
} }
$call['id'] = $new_call_id;
$internal_webhook = new Webhook($this->bdd); $internal_webhook = new Webhook($this->bdd);
$internal_webhook->trigger($id_user, \models\Webhook::TYPE_INBOUND_CALL, $call); $internal_webhook->trigger($id_user, \models\Webhook::TYPE_INBOUND_CALL, $call);