Skip to content

Commit c1ab80a

Browse files
committed
routes/collection: remove new for router init, disable eslint no-default-exports
1 parent 7b6a8dc commit c1ab80a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/routes/collection.routes.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Router } from 'express';
22
import * as CollectionController from '../controllers/collection.controller';
33
import isAuthenticated from '../utils/isAuthenticated';
44

5-
const router = new Router();
5+
const router = Router();
66

77
// List collections
88
router.get(
@@ -41,4 +41,5 @@ router.delete(
4141
CollectionController.removeProjectFromCollection
4242
);
4343

44+
// eslint-disable-next-line import/no-default-export
4445
export default router;

0 commit comments

Comments
 (0)