fix(backend): include EpisodeSeen in season episodes and add entry credits endpoint
- Add getEntryCredits service method returning all cast + crew with People, ordered by cast_type, order, episode_count - Add getEntryCredits controller method - Add GET /entries/:id/credits route in entry.routes.js - Include EpisodeSeen association in getSeasonEpisodes so seen dates are returned to frontend
This commit is contained in:
1 parent
e460290b9b
commit
22d111ef71
7 files changed
+51
-3
No files matched your search
@@ -30,6 +30,7 @@ entryRouter.put('/:id/ids', entryController.updateEntryIds);
|
||||
entryRouter.delete('/:id', entryController.deleteEntry);
|
||||
|
||||
entryRouter.get('/:id/seasons', entryController.getEntrySeasons);
|
||||
entryRouter.get('/:id/credits', entryController.getEntryCredits);
|
||||
entryRouter.put('/:id/refresh', entryController.refrechEntry);
|
||||
entryRouter.put('/:id/fetch-collection', entryController.fetchEntryCollection);
|
||||
|
||||
|
||||
Reference in new issue
Block a user