mirror of
https://codeberg.org/yeentown/barkey
synced 2024-12-22 18:50:00 +00:00
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({
|
||||
_id: user._id
|
||||
}, {
|
||||
|
|
Loading…
Reference in a new issue