Marc Hartmayer 5 年之前
父節點
當前提交
7cd57ee023
共有 1 個文件被更改,包括 1 次插入0 次删除
  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 = () => {