diff options
Diffstat (limited to 'server/models')
-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 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 | }, |