Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Ogle <[email protected]>
  • Loading branch information
ggazzo and geekgonecrazy authored Sep 29, 2023
1 parent a786651 commit 71b6540
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@ const getSupportedVersionsFromCloud = async () => {
const headers = await generateWorkspaceBearerHttpHeader();

const response = await handleResponse<SupportedVersions>(
fetch('https://releases.rocket.chat/supported/server', {
fetch('https://releases.rocket.chat/v2/server/supportedVersions', {
headers,
}),
);

if (!response.success) {
SystemLogger.error({
msg: 'Failed to communicate with Rocket.Chat Cloud',
url: 'https://releases.rocket.chat/supported/server',
url: 'https://releases.rocket.chat/v2/server/supportedVersions',
err: response.error,
});
}
Expand Down

0 comments on commit 71b6540

Please sign in to comment.