From 229cfba27086a0d305afb12c06e1a615278ef69c Mon Sep 17 00:00:00 2001 From: Christopher Mayor Date: Thu, 5 Mar 2026 13:24:00 -0800 Subject: [PATCH] fix: remove broken weekly report code causing syntax error --- gitea-routes.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/gitea-routes.js b/gitea-routes.js index b3fbe6e..3292169 100644 --- a/gitea-routes.js +++ b/gitea-routes.js @@ -229,18 +229,3 @@ function setupGiteaRoutes(app) { } module.exports = { setupGiteaRoutes }; - -// Weekly swarm status report -app.get('/api/swarm/weekly-report', async (req, res) => { - try { - const repos = await gitea.getRepos(); - const tasks = await fetch(`${process.env.TASKBOARD_URL || 'http://localhost:8395'}/api/tasks`).then(r => r.json()); - const agents = await fetch(`${process.env.TASKBOARD_URL || 'http://localhost:8395'}/api/agents`).then(r => r.json()); - - // Get usage data - const usageRes = await fetch(`${process.env.TASKBOARD_URL || 'http://localhost:8395'}/api/usage/real`); - const usage = await usageRes.json(); -*Report auto-generated by OpenClaw Swarm Orchestrator* -`; -} -