Added sockets for notifications
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Broadcast;
|
||||
|
||||
Broadcast::channel('App.Models.User.{id}', function ($user, $id) {
|
||||
return (int) $user->id === (int) $id;
|
||||
});
|
||||
+2
-1
@@ -4,5 +4,6 @@ use Illuminate\Foundation\Inspiring;
|
||||
use Illuminate\Support\Facades\Artisan;
|
||||
|
||||
Schedule::command('app:update-alliances')->dailyAt('09:00')->runInBackground();
|
||||
Schedule::command('app:update-departed-flights')->hourly()->runInBackground();
|
||||
Schedule::command('app:update-arrived-flights')->hourly()->runInBackground();
|
||||
Schedule::command('app:update-departed-flights')->everyMinute()->runInBackground();
|
||||
Schedule::command('app:flight-feed-update')->everyMinute()->runInBackground();
|
||||
|
||||
Reference in New Issue
Block a user