Fix
This commit is contained in:
parent
3f2a7a561e
commit
97ce939a73
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ async function main() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Object.keys(set).length === 0) return res([i, user]);
|
||||||
|
|
||||||
User.update({
|
User.update({
|
||||||
_id: user._id
|
_id: user._id
|
||||||
}, {
|
}, {
|
||||||
|
|
Loading…
Reference in a new issue