mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix search SQL query where duplication
This commit is contained in:
parent
611a72ae15
commit
def2a70b7e
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user