Marc Hartmayer %!s(int64=5) %!d(string=hai) anos
pai
achega
7cd57ee023
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      models/users.js

+ 1 - 0
models/users.js

@@ -1075,6 +1075,7 @@ if (Meteor.isServer) {
     incrementBoards(_.difference(newIds, oldIds), +1);
   });
 
+  // Override getUserId so that we can TODO get the current userId
   const fakeUserId = new Meteor.EnvironmentVariable();
   const getUserId = CollectionHooks.getUserId;
   CollectionHooks.getUserId = () => {