Send event author in webhook notification
This commit is contained in:
parent
9cec52f76b
commit
0d20435f9e
|
|
@ -48,6 +48,7 @@ class WebhookNotification extends Base implements NotificationInterface
|
|||
$payload = array(
|
||||
'event_name' => $event_name,
|
||||
'event_data' => $event_data,
|
||||
'event_author' => ($this->userSession->isLogged() ? $this->userSession->getUsername() : NULL),
|
||||
);
|
||||
|
||||
$this->httpClient->postJson($url, $payload);
|
||||
|
|
|
|||
Loading…
Reference in New Issue