diff options
-rw-r--r-- | app/Notification/WebhookNotification.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Notification/WebhookNotification.php b/app/Notification/WebhookNotification.php index 16045535..1ef857a4 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); |