fix: revert version to 0.9.0 and remove github mock endpoint

Remove mocked GitHub API response and implement actual API call
This commit is contained in:
lklynet
2026-01-10 11:42:43 -05:00
parent ddcf67226f
commit e8ee38f730
2 changed files with 1 additions and 10 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "hypermind",
"version": "1.0.0",
"version": "0.9.0",
"description": "A decentralized P2P counter of active deployments",
"main": "server.js",
"scripts": {
-9
View File
@@ -4,15 +4,6 @@ const setupGitHubRoutes = (router, dependencies) => {
const { repo } = dependencies;
router.get("/api/github/latest-release", (req, res) => {
/**
* @fccview here - just mocking the call for now
*/
return res.json({
tag_name: "1.1.0",
html_url: `https://github.com/${repo.owner}/${repo.name}/releases/tag/v1.1.0`,
published_at: "2023-06-01T12:00:00Z",
body: "This is a test release",
});
const options = {
hostname: "api.github.com",