[API] Fix bug

This commit is contained in:
syuilo 2019-01-21 21:01:04 +09:00
parent 29101b41b9
commit 214edde698

View File

@ -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) {