From 22ab711501491b3e98a21d16a9707b55326c782f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 16 Feb 2024 09:26:14 +0100 Subject: [PATCH] Correctly fix video feeds endpoint --- server/core/controllers/feeds/shared/video-feed-utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core/controllers/feeds/shared/video-feed-utils.ts b/server/core/controllers/feeds/shared/video-feed-utils.ts index b6306c214..260dac35f 100644 --- a/server/core/controllers/feeds/shared/video-feed-utils.ts +++ b/server/core/controllers/feeds/shared/video-feed-utils.ts @@ -42,7 +42,7 @@ export function getCommonVideoFeedAttributes (video: VideoModel) { const thumbnailModels: MThumbnail[] = [] if (video.hasPreview()) thumbnailModels.push(video.getPreview()) - thumbnailModels.push(video.getMiniature()) + if (video.hasMiniature()) thumbnailModels.push(video.getMiniature()) return { title: video.name,