mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 22:15:35 +00:00
Refactor get_latest_sentinel_version() to use 'coolify.sentinel.version' key from versions.json
This commit is contained in:
1 parent
567ce172dc
commit
bf0a2f805b
1 file changed
+1
-1
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user