From bcf854b7bb13ac63d90a554631219de80437476f Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 2 Aug 2018 09:27:30 +0900 Subject: [PATCH] Clean up --- src/server/api/endpoints/i/notifications.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/server/api/endpoints/i/notifications.ts b/src/server/api/endpoints/i/notifications.ts index b6865fba52..a5f3d23f25 100644 --- a/src/server/api/endpoints/i/notifications.ts +++ b/src/server/api/endpoints/i/notifications.ts @@ -41,8 +41,7 @@ export default (params: any, user: ILocalUser) => new Promise(async (res, rej) = } const mute = await Mute.find({ - muterId: user._id, - deletedAt: { $exists: false } + muterId: user._id }); const query = {