This commit is contained in:
syuilo 2018-09-10 03:39:00 +09:00
parent 5b2f15726f
commit 23efaae85e
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -125,7 +125,7 @@ export default (params: any, me: ILocalUser) => new Promise(async (res, rej) =>
ids.forEach(id => ps.excludeUserIds.push(id)); ids.forEach(id => ps.excludeUserIds.push(id));
} }
let q: any = { const q: any = {
$and: [{ $and: [{
tagsLower: ps.tag.toLowerCase() tagsLower: ps.tag.toLowerCase()
}], }],