renamed backend routes files + add fields to entry model
This commit is contained in:
1 parent
21aaead02a
commit
d6c3a974a1
13 files changed
+24
-18
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -1,12 +1,11 @@
|
||||
const express = require('express');
|
||||
const userCollectionRoutes = require('./userCollectionRoutes');
|
||||
const entryIdsRouter = require('./entryIdsRoutes');
|
||||
const entrySeenRouter = require('./entrySeenRoutes');
|
||||
const entryRouter = require('./entryRoutes');
|
||||
const entryRatingsRouter = require('./entryRatingsRoutes');
|
||||
const killerRouter = require('./killerRoutes');
|
||||
const seasonRouter = require('./seasonRoutes');
|
||||
const episodeSeenRouter = require('./episodeSeenRoutes');
|
||||
const userCollectionRoutes = require('./user-collection.routes');
|
||||
const entryIdsRouter = require('./entry-ids.routes');
|
||||
const entrySeenRouter = require('./entry-seen.routes');
|
||||
const entryRouter = require('./entry.routes');
|
||||
const entryRatingsRouter = require('./entry-ratings.routes');
|
||||
const seasonRouter = require('./season.routes');
|
||||
const episodeSeenRouter = require('./episode-seen.routes');
|
||||
|
||||
const router = express.Router();
|
||||
|
||||
@@ -19,8 +18,4 @@ router.use('/entry-ratings', entryRatingsRouter);
|
||||
router.use('/seasons', seasonRouter);
|
||||
router.use('/episode-seen', episodeSeenRouter);
|
||||
|
||||
|
||||
|
||||
router.use('/killer', killerRouter); // ! this route is used to crash the backend
|
||||
|
||||
module.exports = router;
|
||||
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user