mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
fix: new way to update container statuses
This commit is contained in:
1 parent
2eab9296cf
commit
ca7c214775
23 files changed
+602
-35
No files matched your search
@@ -14,6 +14,7 @@ use App\Http\Middleware\ApiAllowed;
|
||||
use App\Http\Middleware\IgnoreReadOnlyApiToken;
|
||||
use App\Http\Middleware\OnlyRootApiToken;
|
||||
use App\Jobs\PushServerUpdateJob;
|
||||
use App\Jobs\ServerCheckNewJob;
|
||||
use App\Models\Server;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
|
||||
@@ -151,6 +152,7 @@ Route::group([
|
||||
}
|
||||
$data = request()->all();
|
||||
|
||||
// ServerCheckNewJob::dispatch($server, $data);
|
||||
PushServerUpdateJob::dispatch($server, $data);
|
||||
|
||||
return response()->json(['message' => 'ok'], 200);
|
||||
|
||||
Reference in new issue
Block a user