Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

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

Andras Bacsai439bee120396
diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.php
index 9a28673535..2feda420fc 100644
--- a/bootstrap/helpers/shared.php
+++ b/bootstrap/helpers/shared.php
@@ -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());