ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix search SQL query where duplication
Chocobozzzdef2a70b7e5e
diff --git a/server/models/video/video.ts b/server/models/video/video.tsindex e58146ccf5..990c66907f 100644--- a/server/models/video/video.ts+++ b/server/models/video/video.ts@@ -316,7 +316,7 @@ export type AvailableForListIDsOptions = {return query},[ ScopeNames.AVAILABLE_FOR_LIST_IDS ]: (options: AvailableForListIDsOptions) => {- const whereAnd = options.baseWhere ? options.baseWhere : []+ const whereAnd = options.baseWhere ? [].concat(options.baseWhere) : []const query: FindOptions = {raw: true,