From c93fe423ea9e1449978a1c8ef1328537024c6836 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 21 Jan 2019 21:01:04 +0900 Subject: [PATCH] [API] Fix bug --- src/server/api/endpoints/users/report-abuse.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/server/api/endpoints/users/report-abuse.ts b/src/server/api/endpoints/users/report-abuse.ts index 25849acb42..b520b29e23 100644 --- a/src/server/api/endpoints/users/report-abuse.ts +++ b/src/server/api/endpoints/users/report-abuse.ts @@ -33,10 +33,6 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => { // Lookup user const user = await User.findOne({ _id: ps.userId - }, { - fields: { - _id: true - } }); if (user === null) {