@dhyasama/totem-models 6.32.1 → 6.32.2

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.
package/lib/Financials.js CHANGED
@@ -124,6 +124,9 @@ module.exports = function(mongoose, config) {
124
124
  var query = self.find({
125
125
  'customer': customerId,
126
126
  'organization': orgId
127
+ }).populate({
128
+ path: 'snapshots.documents',
129
+ match: { customer: customerId }
127
130
  });
128
131
 
129
132
  query.exec(cb);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "6.32.1",
3
+ "version": "6.32.2",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",