File tree Expand file tree Collapse file tree 7 files changed +6
-6
lines changed Expand file tree Collapse file tree 7 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import expressWinston from 'express-winston';
1010import expressValidation from 'express-validation' ;
1111import helmet from 'helmet' ;
1212import winstonInstance from './winston' ;
13- import routes from '../server/routes' ;
13+ import routes from '../server/routes/index.route ' ;
1414import config from './env' ;
1515import APIError from '../server/helpers/APIError' ;
1616
File renamed without changes.
Original file line number Diff line number Diff line change 1- import User from '../models/user' ;
1+ import User from '../models/user.model ' ;
22
33/**
44 * Load user and append to req.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import express from 'express';
22import validate from 'express-validation' ;
33import expressJwt from 'express-jwt' ;
44import paramValidation from '../../config/param-validation' ;
5- import authCtrl from '../controllers/auth' ;
5+ import authCtrl from '../controllers/auth.controller ' ;
66import config from '../../config/env' ;
77
88const router = express . Router ( ) ; // eslint-disable-line new-cap
Original file line number Diff line number Diff line change 11import express from 'express' ;
2- import userRoutes from './user' ;
3- import authRoutes from './auth' ;
2+ import userRoutes from './user.route ' ;
3+ import authRoutes from './auth.route ' ;
44
55const router = express . Router ( ) ; // eslint-disable-line new-cap
66
Original file line number Diff line number Diff line change 11import express from 'express' ;
22import validate from 'express-validation' ;
33import paramValidation from '../../config/param-validation' ;
4- import userCtrl from '../controllers/user' ;
4+ import userCtrl from '../controllers/user.controller ' ;
55
66const router = express . Router ( ) ; // eslint-disable-line new-cap
77
You can’t perform that action at this time.
0 commit comments