Skip to content

Commit

Permalink
Fix #887. Meteor method did not pass boolean to Subscription model.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwakida committed Sep 25, 2015
1 parent 39fe136 commit 6be262b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/methods/toogleFavorite.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6be262b

Please sign in to comment.