From 661f2caef74cf8f1cd46442d5eee4a885dec7705 Mon Sep 17 00:00:00 2001 From: Hanen Alrwasheda <alrwasheda@mi.fu-berlin.de> Date: Sun, 2 Jan 2022 20:12:49 +0100 Subject: [PATCH] update small changes --- server/src/server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/server.ts b/server/src/server.ts index 5a0e0f4..a8b26dd 100644 --- a/server/src/server.ts +++ b/server/src/server.ts @@ -9,7 +9,7 @@ import showTableContent from "./db/DB_Information/showTableContent"; import runSeeders from "./db/seeder"; import accountsRouter from "./routes/accounts.routes"; import authRouter from "./routes/auth.routes"; -import boatRoutes from "./routes/boatRoutes.routes"; +import boatsRouter from "./routes/boatRoutes.routes"; let init = async () => { //DB @@ -25,7 +25,7 @@ let init = async () => { app.get("/", (req, res) => res.send("hello in server")); app.use("/", authRouter); app.use("/", accountsRouter); - app.use("/", boatRoutes.showAllBoatsRouter); + app.use("/", boatsRouter); //DB-information section await showAllDBs(sequelize); await showTables(sequelize); -- GitLab