From e8ee38f730a0a605591c68d12012b4bfaa3bac3b Mon Sep 17 00:00:00 2001 From: lklynet Date: Sat, 10 Jan 2026 11:42:43 -0500 Subject: [PATCH] fix: revert version to 0.9.0 and remove github mock endpoint Remove mocked GitHub API response and implement actual API call --- package.json | 2 +- src/web/routes/github.js | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/package.json b/package.json index ed78a3d..a854539 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/src/web/routes/github.js b/src/web/routes/github.js index cc1db59..e9dcbe5 100644 --- a/src/web/routes/github.js +++ b/src/web/routes/github.js @@ -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",