Skip to content

Commit

Permalink
fix: always show TMDB show cross-reference in APIv3 series DTO
Browse files Browse the repository at this point in the history
- Always show the TMDB show cross-references in the APIv3 series DTO.
  • Loading branch information
revam committed Aug 10, 2024
1 parent 1555f74 commit f15a92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/API/v3/Models/Shoko/Series.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public Series(SVR_AnimeSeries ser, int userId = 0, bool randomizeImages = false,
TMDB = new()
{
Movie = ser.TmdbMovieCrossReferences.Select(a => a.TmdbMovieID).Distinct().ToList(),
Show = ser.TmdbShows.Select(a => a.TmdbShowID).Distinct().ToList(),
Show = ser.TmdbShowCrossReferences.Select(a => a.TmdbShowID).Distinct().ToList(),
},
TraktTv = ser.TraktShowCrossReferences.Select(a => a.TraktID).Distinct().ToList(),
MAL = ser.MALCrossReferences.Select(a => a.MALID).Distinct().ToList()
Expand Down

0 comments on commit f15a92e

Please sign in to comment.