mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 15:40:57 -07:00
Fix bug
This commit is contained in:
parent
fbcd84c304
commit
bf20c493c5
1 changed files with 6 additions and 4 deletions
|
@ -44,11 +44,13 @@ module.exports = (params, user, app) => new Promise(async (res, rej) => {
|
|||
$in: followingIds
|
||||
},
|
||||
// TODO
|
||||
channel_id: {
|
||||
$or: [{
|
||||
$or: [{
|
||||
channel_id: {
|
||||
$exists: false
|
||||
}, null]
|
||||
}
|
||||
}
|
||||
}, {
|
||||
channel_id: null
|
||||
}]
|
||||
} as any;
|
||||
if (sinceId) {
|
||||
sort._id = 1;
|
||||
|
|
Loading…
Reference in a new issue