From 0970ea4fdbaed9ddfef42a11fb289ca7721e2649 Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Tue, 3 Oct 2023 19:28:39 -0300 Subject: [PATCH] Apply suggestions from code review --- .../functions/supportedVersionsToken/supportedVersionsToken.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/meteor/app/cloud/server/functions/supportedVersionsToken/supportedVersionsToken.ts b/apps/meteor/app/cloud/server/functions/supportedVersionsToken/supportedVersionsToken.ts index 18b01de60387..861b46e56acc 100644 --- a/apps/meteor/app/cloud/server/functions/supportedVersionsToken/supportedVersionsToken.ts +++ b/apps/meteor/app/cloud/server/functions/supportedVersionsToken/supportedVersionsToken.ts @@ -87,7 +87,7 @@ const cacheValueInSettings = ( const releaseEndpoint = process.env.OVERWRITE_INTERNAL_RELEASE_URL && process.env.OVERWRITE_INTERNAL_RELEASE_URL.trim().length > 0 ? process.env.OVERWRITE_INTERNAL_RELEASE_URL - : 'https://releases.rocket.chat'; + : 'https://releases.rocket.chat/v2/server/supportedVersions'; const getSupportedVersionsFromCloud = async () => { if (process.env.CLOUD_SUPPORTED_VERSIONS_TOKEN) {