mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-26 09:36:02 -07:00
Fix users recommendation query
This commit is contained in:
parent
55b5537e3f
commit
b47a63b8bf
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ export default (params: any, me: ILocalUser) => new Promise(async (res, rej) =>
|
||||||
_id: {
|
_id: {
|
||||||
$nin: followingIds.concat(mutedUserIds)
|
$nin: followingIds.concat(mutedUserIds)
|
||||||
},
|
},
|
||||||
isLocked: false,
|
isLocked: { $ne: true },
|
||||||
$or: [{
|
$or: [{
|
||||||
lastUsedAt: {
|
lastUsedAt: {
|
||||||
$gte: new Date(Date.now() - ms('7days'))
|
$gte: new Date(Date.now() - ms('7days'))
|
||||||
|
|
Loading…
Reference in a new issue