refactor: update shared.php to use correct key for retrieving sentinel version

This commit is contained in:
Andras Bacsai 2024-06-20 10:50:49 +02:00
parent 0eccbf64f4
commit 439bee1203

View File

@ -168,7 +168,7 @@ function get_latest_sentinel_version(): string
$response = Http::get('https://cdn.coollabs.io/sentinel/versions.json');
$versions = $response->json();
return data_get($versions, 'coolify.sentinel.version');
return data_get($versions, 'sentinel.version');
} catch (\Throwable $e) {
//throw $e;
ray($e->getMessage());