Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update admin.ts

Nicolas28a8a9849154
diff --git a/apps/api/src/routes/admin.ts b/apps/api/src/routes/admin.ts
index 81766184c..77d1bf467 100644
--- a/apps/api/src/routes/admin.ts
+++ b/apps/api/src/routes/admin.ts
@@ -8,22 +8,22 @@ import {
export const adminRouter = express.Router();
-adminRouter.post(
+adminRouter.get(
`/admin/${process.env.BULL_AUTH_KEY}/redis-health`,
redisHealthController
);
-adminRouter.post(
+adminRouter.get(
`/admin/${process.env.BULL_AUTH_KEY}/clean-before-24h-complete-jobs`,
cleanBefore24hCompleteJobsController
);
-adminRouter.post(
+adminRouter.get(
`/admin/${process.env.BULL_AUTH_KEY}/check-queues`,
checkQueuesController
);
-adminRouter.post(
+adminRouter.get(
`/admin/${process.env.BULL_AUTH_KEY}/queues`,
queuesController
);