From 93505bba2a881afa35b2b8e0173cac2575ea49cf Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Sun, 22 Jan 2023 19:54:14 +0100 Subject: [PATCH] Integrated the member.ts router into the index.ts --- src/routes/v1/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routes/v1/index.ts b/src/routes/v1/index.ts index 7fccdc7..d2784cd 100644 --- a/src/routes/v1/index.ts +++ b/src/routes/v1/index.ts @@ -5,6 +5,7 @@ import authRoutes from "./auth"; import accountRoutes from "./account"; import projectRoutes from "./project"; import keyRoutes from "./key"; +import memberRoutes from "./member"; const app: Router = express.Router(); @@ -18,6 +19,7 @@ app.use(authenticate); app.use("/project", projectRoutes); app.use("/key", keyRoutes); +app.use("/member", memberRoutes); app.use("*", (req: Request, res: Response) => sendError(res, 404, 0, "The provided route could not be found"));