Skip to content
Snippets Groups Projects
Commit 9518428d authored by Leander Tolksdorf's avatar Leander Tolksdorf
Browse files

rename import of handleValidationResult

parent 5a7f9137
No related branches found
No related tags found
No related merge requests found
import * as express from "express"; import * as express from "express";
import { body } from "express-validator"; import { body } from "express-validator";
import handleValidationResult from "../middleware/handleValidationErrors"; import handleValidationResult from "../middleware/handleValidationResult";
import authLoginController from "./auth.controllers"; import authLoginController from "./auth.controllers";
const authRouter = express.Router(); const authRouter = express.Router();
...@@ -12,4 +12,5 @@ authRouter.post( ...@@ -12,4 +12,5 @@ authRouter.post(
handleValidationResult, handleValidationResult,
authLoginController authLoginController
); );
export default authRouter; export default authRouter;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment