diff options
Diffstat (limited to 'server/models/video')
-rw-r--r-- | server/models/video/video.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts index ef8be7c86..23d1dedd6 100644 --- a/server/models/video/video.ts +++ b/server/models/video/video.ts | |||
@@ -221,6 +221,7 @@ type AvailableForListIDsOptions = { | |||
221 | }, | 221 | }, |
222 | [ ScopeNames.AVAILABLE_FOR_LIST_IDS ]: (options: AvailableForListIDsOptions) => { | 222 | [ ScopeNames.AVAILABLE_FOR_LIST_IDS ]: (options: AvailableForListIDsOptions) => { |
223 | const query: IFindOptions<VideoModel> = { | 223 | const query: IFindOptions<VideoModel> = { |
224 | raw: true, | ||
224 | attributes: [ 'id' ], | 225 | attributes: [ 'id' ], |
225 | where: { | 226 | where: { |
226 | id: { | 227 | id: { |