Skip to content

Commit 073ef63

Browse files
committed
fix wording in notification event
1 parent 63058d8 commit 073ef63

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Services/NotificationService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ public function pass(array $notification)
5757
return;
5858
}
5959

60-
if (class_exists($this->types[$notification->event]::class)) {
61-
$user->notify(new $this->types[$notification->type]($notification->event));
60+
if (class_exists($this->types[$notification->type]::class)) {
61+
$user->notify(new $this->types[$notification->type]($notification->payload));
6262
}
6363
}
6464
}

0 commit comments

Comments
 (0)