This commit is contained in:
Marc Hartmayer 2020-05-29 22:29:42 +02:00
parent 07ab3b83b1
commit 7cd57ee023

View file

@ -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 = () => {