diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-01-21 21:01:04 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-01-21 21:01:04 +0900 |
| commit | c93fe423ea9e1449978a1c8ef1328537024c6836 (patch) | |
| tree | 943c603ce9b77a8c508fad1e77f0c2497ef1f4df /src/server/api/endpoints/users | |
| parent | [Client] Fix bug (diff) | |
| download | sharkey-c93fe423ea9e1449978a1c8ef1328537024c6836.tar.gz sharkey-c93fe423ea9e1449978a1c8ef1328537024c6836.tar.bz2 sharkey-c93fe423ea9e1449978a1c8ef1328537024c6836.zip | |
[API] Fix bug
Diffstat (limited to 'src/server/api/endpoints/users')
| -rw-r--r-- | src/server/api/endpoints/users/report-abuse.ts | 4 |
1 files changed, 0 insertions, 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) { |