Fix wrong comment

This commit is contained in:
syuilo 2018-12-20 02:47:24 +09:00 committed by GitHub
parent 4fc377584f
commit b545be5799
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ export default define(meta, (ps, me) => new Promise(async (res, rej) => {
return rej('user not found'); return rej('user not found');
} }
// Push the user // Pull the user
await UserList.update({ _id: userList._id }, { await UserList.update({ _id: userList._id }, {
$pull: { $pull: {
userIds: user._id userIds: user._id