user creating flow updated
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Listeners\Auth;
|
||||
|
||||
use App\Events\Auth\InvitationCreated as Event;
|
||||
use App\Notifications\Auth\Invitation as Notification;
|
||||
|
||||
class SendUserInvitation
|
||||
{
|
||||
/**
|
||||
* Handle the event.
|
||||
*
|
||||
* @param $event
|
||||
* @return void
|
||||
*/
|
||||
public function handle(Event $event)
|
||||
{
|
||||
$invitation = $event->invitation;
|
||||
|
||||
$invitation->user->notify(new Notification($invitation));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user