diff --git a/app/Notification/WebhookNotification.php b/app/Notification/WebhookNotification.php index 16045535b..1ef857a40 100644 --- a/app/Notification/WebhookNotification.php +++ b/app/Notification/WebhookNotification.php @@ -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);