fix: streamline helper version retrieval and improve migration clarity

This commit is contained in:
Andras Bacsai committed 2025-11-14 10:43:20 +01:00
1 parent c758de9e7c
commit a660dd8c83
2 files changed
+89 -96

No files matched your search

+1 -2
View File
@@ -2907,8 +2907,7 @@ function getHelperVersion(): string
return $settings->dev_helper_version;
}
// In production or when dev_helper_version is not set, use the configured helper_version
return $settings->helper_version ?? config('constants.coolify.helper_version');
return config('constants.coolify.helper_version');
}
function loadConfigFromGit(string $repository, string $branch, string $base_directory, int $server_id, int $team_id)