@dhyasama/totem-models 7.42.0 → 7.43.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.
@@ -454,14 +454,8 @@ module.exports = function(mongoose, config) {
454
454
  query.exec(cb);
455
455
  };
456
456
 
457
- if (CUSTOMER_ID == 'GLOBAL_PROCESS') {
458
- query = self.find({'name': lpName}, this.getReadFilterKeys(role))
459
- getLps();
460
- }
461
- else {
462
- query = self.find({'customer': customerId, 'name': lpName, 'transactions.fund': { $in : self.customerFunds }}, self.getReadFilterKeys(role));
463
- getLps();
464
- }
457
+ query = self.find({'customer': customerId, 'name': lpName, 'transactions.fund': { $in : self.customerFunds }}, self.getReadFilterKeys(role));
458
+ getLps();
465
459
 
466
460
  };
467
461
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "7.42.0",
3
+ "version": "7.43.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",