File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import expressUtil from "@util/expressUtil";
9
9
import { iRequest , iResponse , RouteType } from "@customTypes/expressTypes" ;
10
10
import { MultiAnnotation } from "@customTypes/appDataTypes/annotationTypes" ;
11
11
import AnnotationService from "@services/AnnotationService" ;
12
- import middlewares from "@api/middlewares" ;
12
+ // import middlewares from "@api/middlewares";
13
13
14
14
const route = Router ( ) ;
15
15
const annotationService = new AnnotationService ( ) ;
@@ -21,7 +21,7 @@ const annotationsRoute: RouteType = (apiRouter) => {
21
21
Registering isAuthorized middleware to the entire /users route
22
22
as all the endpoint in this route needs authorization.
23
23
*/
24
- route . use ( middlewares . isAuthorized ) ;
24
+ // route.use(middlewares.isAuthorized);
25
25
26
26
route . get (
27
27
"/" ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ import {
22
22
newsSubmissionBodySchema ,
23
23
} from "@validations/newsRouteSchemas" ;
24
24
import NewsService from "@services/NewsService" ;
25
- import middlewares from "@api/middlewares" ;
25
+ // import middlewares from "@api/middlewares";
26
26
27
27
const route = Router ( ) ;
28
28
const newsService = new NewsService ( ) ;
@@ -34,7 +34,7 @@ const newsRoute: RouteType = (apiRouter) => {
34
34
Registering isAuthorized middleware to the entire /users route
35
35
as all the endpoint in this route needs authorization.
36
36
*/
37
- route . use ( middlewares . isAuthorized ) ;
37
+ // route.use(middlewares.isAuthorized);
38
38
39
39
route . post (
40
40
"/" ,
You can’t perform that action at this time.
0 commit comments