add $notificationId to every broadcast notification
This commit is contained in:
@@ -100,7 +100,7 @@ class EventsController extends Controller
|
||||
|
||||
if (Carbon::now()->lessThanOrEqualTo($event->end)) {
|
||||
$notification = Notification::create([
|
||||
'content' => "L'événement '{$event->name}' a été supprimé. Vous n'y participez donc plus."
|
||||
'content' => "L'événement {$event->name} a été supprimé. Vous n'y participez donc plus."
|
||||
]);
|
||||
$notification->users()->attach($participants->pluck('id'));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user