Removed unused imports from the routes index.ts
This commit is contained in:
parent
afbdd16816
commit
ecfbc346f6
@ -1,5 +1,4 @@
|
||||
import express, {Request, Response, Router} from "express";
|
||||
import {sendError} from "@utils/error";
|
||||
import express, {Router} from "express";
|
||||
import { authenticate } from "@middlewares/auth";
|
||||
import authRoutes from "./auth";
|
||||
import accountRoutes from "./account";
|
||||
@ -13,7 +12,6 @@ const app: Router = express.Router();
|
||||
app.use("/auth", authRoutes);
|
||||
app.use("/user", accountRoutes);
|
||||
|
||||
|
||||
// Middlewares that require authentication
|
||||
app.use("/project", authenticate, projectRoutes);
|
||||
app.use("/key", authenticate, keyRoutes);
|
||||
|
Loading…
x
Reference in New Issue
Block a user