replaced 'currentInvocation.userId()' with 'currentInvocation.userId'

This commit is contained in:
Lloyd Brookes
2012-10-09 15:41:17 +01:00
parent 38fb1dfd01
commit ae46f89bc2

View File

@@ -883,7 +883,7 @@ _.extend(Meteor._LivedataServer.prototype, {
};
var currentInvocation = Meteor._CurrentInvocation.get();
if (currentInvocation) {
userId = currentInvocation.userId();
userId = currentInvocation.userId;
setUserId = function(userId) {
currentInvocation.setUserId(userId);
};