diff --git a/server/controllers/feeds.ts b/server/controllers/feeds.ts index 7207baa00..6b64ff227 100644 --- a/server/controllers/feeds.ts +++ b/server/controllers/feeds.ts @@ -156,7 +156,7 @@ async function generateVideoFeed (req: express.Request, res: express.Response) { categories: [video.category ? { value: video.category, label: VideoModel.getCategoryLabel(video.category) - } : null], + } : null].filter(Boolean), community: { statistics: { views: video.views