Resolve #4325
This commit is contained in:
parent
60c9a6528f
commit
28086111e1
|
@ -42,7 +42,7 @@ export default define(meta, async (ps, user) => {
|
|||
$gt: new Date(Date.now() - day)
|
||||
},
|
||||
deletedAt: null,
|
||||
visibility: { $in: ['public', 'home'] },
|
||||
visibility: 'public',
|
||||
'_user.host': null,
|
||||
...(hideUserIds && hideUserIds.length > 0 ? { userId: { $nin: hideUserIds } } : {})
|
||||
}, {
|
||||
|
|
Loading…
Reference in a new issue