Skip to content

Commit

Permalink
fix: add thumbnail to episode image types in api v3
Browse files Browse the repository at this point in the history
  • Loading branch information
revam committed Oct 11, 2024
1 parent 7fb9f33 commit 66050d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Shoko.Server/API/v3/Controllers/EpisodeController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ public ActionResult<List<TmdbEpisode>> GetTmdbEpisodesByEpisodeID(

#region All images

private static readonly HashSet<Image.ImageType> _allowedImageTypes = [Image.ImageType.Poster, Image.ImageType.Banner, Image.ImageType.Backdrop, Image.ImageType.Logo];
private static readonly HashSet<Image.ImageType> _allowedImageTypes = [Image.ImageType.Poster, Image.ImageType.Banner, Image.ImageType.Backdrop, Image.ImageType.Logo, Image.ImageType.Thumbnail];

private const string InvalidIDForSource = "Invalid image id for selected source.";

Expand Down

0 comments on commit 66050d2

Please sign in to comment.