We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63058d8 commit 073ef63Copy full SHA for 073ef63
1 file changed
app/Services/NotificationService.php
@@ -57,8 +57,8 @@ public function pass(array $notification)
57
return;
58
}
59
60
- if (class_exists($this->types[$notification->event]::class)) {
61
- $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));
62
63
64
0 commit comments