From b7f63201669db4fbd031725c3ec96dfe12c6bf12 Mon Sep 17 00:00:00 2001 From: Akihiko Odaki Date: Thu, 29 Mar 2018 21:47:17 +0900 Subject: [PATCH] Fix recommendation query --- src/server/api/endpoints/users/recommendation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/endpoints/users/recommendation.ts b/src/server/api/endpoints/users/recommendation.ts index c81533969..60483936f 100644 --- a/src/server/api/endpoints/users/recommendation.ts +++ b/src/server/api/endpoints/users/recommendation.ts @@ -36,7 +36,7 @@ module.exports = (params, me) => new Promise(async (res, rej) => { $gte: new Date(Date.now() - ms('7days')) } }, { - host: { $not: null } + host: { $ne: null } } ] }, {