From 9c4534b4acc216ac53858a32ca0f4a29a510cfb8 Mon Sep 17 00:00:00 2001 From: Almeida Date: Sun, 13 Oct 2024 13:45:05 +0200 Subject: [PATCH] fix: api routes --- backend/src/api/start.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/src/api/start.ts b/backend/src/api/start.ts index 9fdf29766..b259d22ab 100644 --- a/backend/src/api/start.ts +++ b/backend/src/api/start.ts @@ -28,10 +28,10 @@ app.use(multer().none()); const rootRouter = express.Router(); -initAuth(app); -initGuildsAPI(app); -initArchives(app); -initDocs(app); +initAuth(rootRouter); +initGuildsAPI(rootRouter); +initArchives(rootRouter); +initDocs(rootRouter); // Default route rootRouter.get("/", (req, res) => {