Fixed the default version profile and the network calls to be made using NetworkService

This commit is contained in:
unknown committed 2024-10-16 12:13:18 +05:30
1 parent 33dd78defd
commit 94e2876580
2 files changed
+22 -8

No files matched your search

+14
View File
@@ -832,6 +832,20 @@ class NetworkService {
}
);
}
/**
* ************************************
* Fetcher github latest release version
* ************************************
*
* @async
* @returns {Promise<AxiosResponse>} The response from the axios GET request.
*
*/
async fetchGithubLatestRelease() {
return this.axiosInstance.get('https://api.github.com/repos/bluewave-labs/bluewave-uptime/releases/latest');
}
}
export default NetworkService;