]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/controllers/feeds.ts
miniature duration visibility and overlay background opacity
[github/Chocobozzz/PeerTube.git] / server / controllers / feeds.ts
index 7207baa006b60ad300702c2183c825e8a2a6d959..6b64ff22720be688d1132b604bab92a71a168ad8 100644 (file)
@@ -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