From 66050d2c6843fd5b8bcf2a561228be86772945f1 Mon Sep 17 00:00:00 2001 From: Mikal Stordal Date: Fri, 11 Oct 2024 03:39:42 +0200 Subject: [PATCH] fix: add thumbnail to episode image types in api v3 --- Shoko.Server/API/v3/Controllers/EpisodeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shoko.Server/API/v3/Controllers/EpisodeController.cs b/Shoko.Server/API/v3/Controllers/EpisodeController.cs index 45cf839e1..d01ba3b11 100644 --- a/Shoko.Server/API/v3/Controllers/EpisodeController.cs +++ b/Shoko.Server/API/v3/Controllers/EpisodeController.cs @@ -754,7 +754,7 @@ public ActionResult> GetTmdbEpisodesByEpisodeID( #region All images - private static readonly HashSet _allowedImageTypes = [Image.ImageType.Poster, Image.ImageType.Banner, Image.ImageType.Backdrop, Image.ImageType.Logo]; + private static readonly HashSet _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.";