This commit is contained in:
syuilo 2017-11-01 12:34:12 +09:00
parent f60eae5c91
commit bbd3b6da07
1 changed files with 6 additions and 0 deletions

View File

@ -42,6 +42,12 @@ module.exports = (params, user, app) => new Promise(async (res, rej) => {
const query = { const query = {
user_id: { user_id: {
$in: followingIds $in: followingIds
},
// TODO
channel_id: {
$or: [{
$exists: false
}, null]
} }
} as any; } as any;
if (sinceId) { if (sinceId) {