Fix wrong comment
This commit is contained in:
parent
4fc377584f
commit
b545be5799
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue