projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39aad8c
)
(hotfix) remove null categories in RSS/Atom feeds
author
Rigel Kent
<sendmemail@rigelk.eu>
Sun, 8 Dec 2019 21:27:24 +0000
(22:27 +0100)
committer
Rigel Kent
<sendmemail@rigelk.eu>
Sun, 8 Dec 2019 21:27:24 +0000
(22:27 +0100)
server/controllers/feeds.ts
patch
|
blob
|
history
diff --git
a/server/controllers/feeds.ts
b/server/controllers/feeds.ts
index 7207baa006b60ad300702c2183c825e8a2a6d959..6b64ff22720be688d1132b604bab92a71a168ad8 100644
(file)
--- 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