diff options
Diffstat (limited to 'server/models/video/video-change-ownership.ts')
-rw-r--r-- | server/models/video/video-change-ownership.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/models/video/video-change-ownership.ts b/server/models/video/video-change-ownership.ts index f7a351329..3259b6c02 100644 --- a/server/models/video/video-change-ownership.ts +++ b/server/models/video/video-change-ownership.ts | |||
@@ -43,7 +43,11 @@ enum ScopeNames { | |||
43 | [ScopeNames.WITH_VIDEO]: { | 43 | [ScopeNames.WITH_VIDEO]: { |
44 | include: [ | 44 | include: [ |
45 | { | 45 | { |
46 | model: VideoModel.scope([ VideoScopeNames.WITH_THUMBNAILS, VideoScopeNames.WITH_FILES ]), | 46 | model: VideoModel.scope([ |
47 | VideoScopeNames.WITH_THUMBNAILS, | ||
48 | VideoScopeNames.WITH_WEBTORRENT_FILES, | ||
49 | VideoScopeNames.WITH_STREAMING_PLAYLISTS | ||
50 | ]), | ||
47 | required: true | 51 | required: true |
48 | } | 52 | } |
49 | ] | 53 | ] |