This commit is contained in:
syuilo 2018-05-06 18:19:17 +09:00
parent 54ec0b8a93
commit 13a5ef9c6a

View file

@ -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
}, { }, {