1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-14 22:59:35 +09:00

[API] Fix bug

This commit is contained in:
syuilo 2019-01-21 21:01:04 +09:00
parent ecac2990eb
commit c93fe423ea
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -33,10 +33,6 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
// Lookup user // Lookup user
const user = await User.findOne({ const user = await User.findOne({
_id: ps.userId _id: ps.userId
}, {
fields: {
_id: true
}
}); });
if (user === null) { if (user === null) {