forked from Alex/Pterodactyl-Panel
fix wording in notification event
This commit is contained in:
parent
63058d8c8e
commit
073ef638b8
@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user