laravel echo

This commit is contained in:
Benjamin Takats
2023-01-18 23:44:55 +01:00
parent 107ef6fd81
commit f6dafb204a
3 changed files with 12 additions and 3 deletions

View File

@@ -26,6 +26,6 @@ class AddLoginReputation
public function handle($event)
{
$event->user->givePoint(new LoggedIn($event->user));
event(new PlebLoggedInEvent($event->user->name));
event(new PlebLoggedInEvent($event->user->name, $event->user->profile_photo_url));
}
}