diff --git a/server/methods/toogleFavorite.coffee b/server/methods/toogleFavorite.coffee index a8c4cf5fa994..853bfe00c771 100644 --- a/server/methods/toogleFavorite.coffee +++ b/server/methods/toogleFavorite.coffee @@ -5,4 +5,4 @@ Meteor.methods console.log '[methods] toogleFavorite -> '.green, 'userId:', Meteor.userId(), 'arguments:', arguments - RocketChat.models.Subscriptions.setFavoriteByRoomIdAndUserId rid, Meteor.userId() + RocketChat.models.Subscriptions.setFavoriteByRoomIdAndUserId rid, Meteor.userId(), f