Fix wrong comment

This commit is contained in:
syuilo
2018-12-20 02:47:24 +09:00
committed by GitHub
parent 4fc377584f
commit b545be5799

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