fix wording in notification event
This commit is contained in:
parent
63058d8c8e
commit
073ef638b8
|
@ -57,8 +57,8 @@ class NotificationService {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (class_exists($this->types[$notification->event]::class)) {
|
if (class_exists($this->types[$notification->type]::class)) {
|
||||||
$user->notify(new $this->types[$notification->type]($notification->event));
|
$user->notify(new $this->types[$notification->type]($notification->payload));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue