@dhyasama/totem-models 11.37.0 → 11.38.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -663,7 +663,7 @@ module.exports = function(mongoose, config) {
663
663
  query = self.find({}, getReadFilterKeys(options.role));
664
664
  }
665
665
  else {
666
- query = self.find({ 'transactions.fund': { $in : options.funds }}, getReadFilterKeys(options.role));
666
+ query = self.find({ 'transactions.fund': { $in : options.fundids }, customer: customerId }, getReadFilterKeys(options.role));
667
667
  }
668
668
 
669
669
  query.populate('transactions.fund');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "11.37.0",
3
+ "version": "11.38.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",