- Enhance PeopleController with person credits and TMDB filmography endpoints;
- update episodeService to filter entries by showInCalendar;
- add fetchPersonCombinedCredits function in tmdbService
This commit is contained in:
Mohammed Abad committed 2026-04-01 00:07:41 +01:00
1 parent ffe7e52527
commit 11eab03987
5 files changed
+36 -7

No files matched your search

+2 -1
View File
@@ -30,7 +30,7 @@ class EpisodeService {
const formatedStartDate = moment(startDate).format('YYYY-MM-DD');
const formatedEndDate = moment(endDate).format('YYYY-MM-DD');
// fetch episodes that aired within the current month
// fetch episodes that aired within the current month, only from entries with showInCalendar enabled
const episodes = await Episode.findAll({
where: {
air_date: {
@@ -44,6 +44,7 @@ class EpisodeService {
include: {
model: Entry,
as: 'entry',
where: { showInCalendar: true },
include: [
{ model: EntryId, as: 'entryId' },
{