mirror of
https://github.com/vale981/Vulcan
synced 2025-03-08 19:11:38 -05:00
Fix decrease inviteCount
This commit is contained in:
parent
2f8c184c0c
commit
1f09999ce0
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ Meteor.methods({
|
|||
});
|
||||
|
||||
// update invinting user
|
||||
Meteor.users.update(Meteor.userId(), {$inc:{"telescope.inviteCount": -1}, $inc:{"telescope.invitedCount": 1}});
|
||||
Meteor.users.update(Meteor.userId(), {$inc:{"telescope.inviteCount": -1, "telescope.invitedCount": 1}});
|
||||
|
||||
if(user){
|
||||
// update invited user
|
||||
|
|
Loading…
Add table
Reference in a new issue