diff --git a/back/src/Kyoo.Core/Views/Content/ThumbnailsApi.cs b/back/src/Kyoo.Core/Views/Content/ThumbnailsApi.cs index 529a9736..1693804d 100644 --- a/back/src/Kyoo.Core/Views/Content/ThumbnailsApi.cs +++ b/back/src/Kyoo.Core/Views/Content/ThumbnailsApi.cs @@ -58,7 +58,7 @@ public class ThumbnailsApi(IThumbnailsManager thumbs) : BaseApi public async Task GetPoster(Guid id, [FromQuery] ImageQuality? quality) { quality ??= ImageQuality.High; - if (await thumbs.IsImageSaved(id, quality.Value)) + if (!await thumbs.IsImageSaved(id, quality.Value)) return NotFound(); // Allow clients to cache the image for 6 month.