aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-18 11:22:35 +0100
committerChocobozzz <chocobozzz@cpy.re>2021-02-18 13:38:09 +0100
commitf66db4d5c851fe87bb71cccee96926000f59a15b (patch)
tree94fb0826669140ed42b3c82943ec9ba205a7b7fa /server/controllers
parentb3d5cb92b100406df98e5cd1f54eff9cd2078b1c (diff)
downloadPeerTube-f66db4d5c851fe87bb71cccee96926000f59a15b.tar.gz
PeerTube-f66db4d5c851fe87bb71cccee96926000f59a15b.tar.zst
PeerTube-f66db4d5c851fe87bb71cccee96926000f59a15b.zip
Fix feeds
Diffstat (limited to 'server/controllers')
-rw-r--r--server/controllers/feeds.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/feeds.ts b/server/controllers/feeds.ts
index 2182b42f5..e29a8fe1d 100644
--- a/server/controllers/feeds.ts
+++ b/server/controllers/feeds.ts
@@ -255,7 +255,7 @@ function addVideosToFeed (feed, videos: VideoModel[]) {
255 * Adding video items to the feed object, one at a time 255 * Adding video items to the feed object, one at a time
256 */ 256 */
257 for (const video of videos) { 257 for (const video of videos) {
258 const formattedVideoFiles = video.getFormattedVideoFilesJSON() 258 const formattedVideoFiles = video.getFormattedVideoFilesJSON(false)
259 259
260 const torrents = formattedVideoFiles.map(videoFile => ({ 260 const torrents = formattedVideoFiles.map(videoFile => ({
261 title: video.name, 261 title: video.name,