Fix
This commit is contained in:
parent
3f2a7a561e
commit
97ce939a73
|
@ -44,6 +44,8 @@ async function main() {
|
|||
}
|
||||
}
|
||||
|
||||
if (Object.keys(set).length === 0) return res([i, user]);
|
||||
|
||||
User.update({
|
||||
_id: user._id
|
||||
}, {
|
||||
|
|
Loading…
Reference in New Issue