aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-04-08 15:04:14 +0200
committerChocobozzz <me@florianbigard.com>2021-04-08 15:04:14 +0200
commit1afb3c474ae1194748a6fba901058c720e01be0c (patch)
tree82d245a88a9eb8de969982eeb1ad49a301e617da
parent8004469c0a14f8b19f91f87a9455713422146baa (diff)
downloadPeerTube-1afb3c474ae1194748a6fba901058c720e01be0c.tar.gz
PeerTube-1afb3c474ae1194748a6fba901058c720e01be0c.tar.zst
PeerTube-1afb3c474ae1194748a6fba901058c720e01be0c.zip
Fix outbox fetch with subtitled videos
-rw-r--r--server/models/video/video.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index 9d89efa5b..3c4f3d3df 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -916,7 +916,7 @@ export class VideoModel extends Model {
916 }, 916 },
917 include: [ 917 include: [
918 { 918 {
919 attributes: [ 'language', 'fileUrl' ], 919 attributes: [ 'filename', 'language', 'fileUrl' ],
920 model: VideoCaptionModel.unscoped(), 920 model: VideoCaptionModel.unscoped(),
921 required: false 921 required: false
922 }, 922 },