Refactor get_latest_sentinel_version() to use 'coolify.sentinel.version' key from versions.json
This commit is contained in:
parent
567ce172dc
commit
bf0a2f805b
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ function get_latest_sentinel_version(): string
|
|||
$response = Http::get('https://cdn.coollabs.io/coolify/versions.json');
|
||||
$versions = $response->json();
|
||||
|
||||
return data_get($versions, 'sentinel.version');
|
||||
return data_get($versions, 'coolify.sentinel.version');
|
||||
} catch (\Throwable $e) {
|
||||
//throw $e;
|
||||
ray($e->getMessage());
|
||||
|
|
|
|||
Loading…
Reference in a new issue