1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-10-27 20:32:28 +01:00

fix wording in notification event

This commit is contained in:
Dane Everitt 2016-10-14 16:25:57 -04:00
parent 63058d8c8e
commit 073ef638b8
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -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));
}
}
}