From 073ef638b8f6fd1a46f0f39ef5d31f25c17b9339 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Fri, 14 Oct 2016 16:25:57 -0400 Subject: [PATCH] fix wording in notification event --- app/Services/NotificationService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Services/NotificationService.php b/app/Services/NotificationService.php index b98bd0642..0ae6192f9 100644 --- a/app/Services/NotificationService.php +++ b/app/Services/NotificationService.php @@ -57,8 +57,8 @@ class NotificationService { return; } - if (class_exists($this->types[$notification->event]::class)) { - $user->notify(new $this->types[$notification->type]($notification->event)); + if (class_exists($this->types[$notification->type]::class)) { + $user->notify(new $this->types[$notification->type]($notification->payload)); } } }