aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models
diff options
context:
space:
mode:
Diffstat (limited to 'server/models')
-rw-r--r--server/models/video/video.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video/video.ts b/server/models/video/video.ts
index e58146ccf..990c66907 100644
--- a/server/models/video/video.ts
+++ b/server/models/video/video.ts
@@ -316,7 +316,7 @@ export type AvailableForListIDsOptions = {
316 return query 316 return query
317 }, 317 },
318 [ ScopeNames.AVAILABLE_FOR_LIST_IDS ]: (options: AvailableForListIDsOptions) => { 318 [ ScopeNames.AVAILABLE_FOR_LIST_IDS ]: (options: AvailableForListIDsOptions) => {
319 const whereAnd = options.baseWhere ? options.baseWhere : [] 319 const whereAnd = options.baseWhere ? [].concat(options.baseWhere) : []
320 320
321 const query: FindOptions = { 321 const query: FindOptions = {
322 raw: true, 322 raw: true,