mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 14:36:17 +00:00
Migrate queues to Horizon (#621)
This commit is contained in:
@ -34,15 +34,12 @@ public function createRules(array $input): array
|
||||
public function connect(): bool
|
||||
{
|
||||
try {
|
||||
ds($this->getApiUrl());
|
||||
$res = Http::withToken($this->data()['token'])
|
||||
->get($this->getApiUrl().'/version');
|
||||
} catch (Exception) {
|
||||
return false;
|
||||
}
|
||||
|
||||
ds($res->status());
|
||||
|
||||
return $res->successful();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user