Merge pull request #1336 from akihikodaki/recommendation

Fix recommendation query
This commit is contained in:
syuilo 2018-03-30 14:11:11 +09:00 committed by GitHub
commit 93ee7a4229
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ module.exports = (params, me) => new Promise(async (res, rej) => {
$gte: new Date(Date.now() - ms('7days')) $gte: new Date(Date.now() - ms('7days'))
} }
}, { }, {
host: { $not: null } host: { $ne: null }
} }
] ]
}, { }, {