This commit is contained in:
parent
db943df0c8
commit
a1b82e9723
43 changed files with 167 additions and 196 deletions
|
|
@ -52,7 +52,7 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) =
|
|||
}
|
||||
|
||||
if (media != undefined) {
|
||||
query.mediaIds = media ? { $exists: true, $ne: null } : null;
|
||||
query.fileIds = media ? { $exists: true, $ne: null } : null;
|
||||
}
|
||||
|
||||
if (poll != undefined) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue