Meteor.methods({
    addTips: function (numTips, targetUserId) {
        Meteor.users.update({_id: targetUserId}, {
            $inc: {
                tips: numTips
            }
        })
    }
})

@@ -37,17 +37,8 @@
 on (
-numTips, 
 targ
@@ -48,16 +48,198 @@
 serId) %7B
+%0A        const numTips = 1;%0A        const userId = Meteor.userId();%0A        if (userId == targetUserId) %7B%0A            throw new Meteor.Error(%22Cannot add tips to yourself%22);%0A        %7D
 %0A       

Add control for not add tips to yourself