diff options
author | Chocobozzz <me@florianbigard.com> | 2020-01-30 11:53:38 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-01-30 11:53:38 +0100 |
commit | ca6d36227a9273f616a462d3aad6a721ab5dd627 (patch) | |
tree | a1610578e719ddb2c58199f06dd4eae436d25c0a /server/models/video/video.ts | |
parent | 215304eaa06020f27152108567c6a9de16b220d3 (diff) | |
download | PeerTube-ca6d36227a9273f616a462d3aad6a721ab5dd627.tar.gz PeerTube-ca6d36227a9273f616a462d3aad6a721ab5dd627.tar.zst PeerTube-ca6d36227a9273f616a462d3aad6a721ab5dd627.zip |
Add url field in caption and use it for thumbnails
Diffstat (limited to 'server/models/video/video.ts')
-rw-r--r-- | server/models/video/video.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index 20e1f1c4a..1a924e6c9 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -1121,7 +1121,7 @@ export class VideoModel extends Model<VideoModel> { | |||
1121 | }, | 1121 | }, |
1122 | include: [ | 1122 | include: [ |
1123 | { | 1123 | { |
1124 | attributes: [ 'language' ], | 1124 | attributes: [ 'language', 'fileUrl' ], |
1125 | model: VideoCaptionModel.unscoped(), | 1125 | model: VideoCaptionModel.unscoped(), |
1126 | required: false | 1126 | required: false |
1127 | }, | 1127 | }, |