mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
(hotfix) remove null categories in RSS/Atom feeds
This commit is contained in:
parent
39aad8cc85
commit
857e5e2340
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user