mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-20 02:17:09 +00:00
fix: service deletion job
This commit is contained in:
1 parent
6a6275d4fa
commit
4e680deb93
6 files changed
+83
-37
No files matched your search
+2
-1
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
|
||||
use App\Events\TestEvent;
|
||||
use App\Http\Controllers\ApplicationController;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Controllers\DatabaseController;
|
||||
@@ -48,7 +49,7 @@ Route::get('/api/v1/test/realtime', function () {
|
||||
if (auth()->user()?->currentTeam()->id !== 0) {
|
||||
return redirect('/');
|
||||
}
|
||||
event(new \App\Events\TestEvent('asd'));
|
||||
TestEvent::dispatch('asd');
|
||||
return 'Look at your other tab.';
|
||||
})->middleware('auth');
|
||||
|
||||
|
||||
Reference in new issue
Block a user