feat: Implement asynchronous VM power operations and refactor vCenter snapshot retrieval to use API calls.
This commit is contained in:
+12
-5
@@ -7,7 +7,7 @@ use Illuminate\Support\Facades\Broadcast;
|
||||
| Broadcast Channels
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Here you may register all the event broadcasting channels that your
|
||||
| Here you may register all of the event broadcasting channels that your
|
||||
| application supports. The given channel authorization callbacks are
|
||||
| used to check if an authenticated user can listen to the channel.
|
||||
|
|
||||
@@ -18,13 +18,20 @@ use Illuminate\Support\Facades\Broadcast;
|
||||
//});
|
||||
Broadcast::channel('Payment-Success.{id}', function ($user, $id) {
|
||||
return (int)$user->id === (int)$id;
|
||||
}, ['guards' => 'users']);
|
||||
}, ['guards' => ['users', 'customer']]);
|
||||
|
||||
Broadcast::channel('Expiry-Time.{id}', function ($user, $id) {
|
||||
return (int)$user->id === (int)$id;
|
||||
}, ['guards' => 'users']);
|
||||
}, ['guards' => ['users', 'customer']]);
|
||||
|
||||
Broadcast::channel('Created.Success.{id}', function ($user, $id) {
|
||||
return (int)$user->id === (int)$id;
|
||||
}, ['guards' => 'users']);
|
||||
}, ['guards' => ['users', 'customer']]);
|
||||
|
||||
Broadcast::channel('Panel.Status.{id}', function ($user, $id) {
|
||||
return (int)$user->id === (int)$id;
|
||||
}, ['guards' => 'users']);
|
||||
}, ['guards' => ['users', 'customer']]);
|
||||
|
||||
Broadcast::channel('user.{id}', function ($user, $id) {
|
||||
return (int) $user->id === (int) $id;
|
||||
}, ['guards' => ['users', 'customer']]);
|
||||
|
||||
Reference in New Issue
Block a user