From ca6d36227a9273f616a462d3aad6a721ab5dd627 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 30 Jan 2020 11:53:38 +0100 Subject: Add url field in caption and use it for thumbnails --- server/models/video/video.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/models/video/video.ts') 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 { }, include: [ { - attributes: [ 'language' ], + attributes: [ 'language', 'fileUrl' ], model: VideoCaptionModel.unscoped(), required: false }, -- cgit v1.2.3