Skip to content

Commit

Permalink
Refactor get_latest_sentinel_version() to use 'coolify.sentinel.versi…
Browse files Browse the repository at this point in the history
…on' key from versions.json
  • Loading branch information
andrasbacsai committed Oct 15, 2024
1 parent 567ce17 commit bf0a2f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bootstrap/helpers/shared.php
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit bf0a2f8

Please sign in to comment.