Fix
This commit is contained in:
parent
54ec0b8a93
commit
13a5ef9c6a
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