@dhyasama/totem-models 9.19.0 → 9.19.1

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
@@ -749,7 +749,7 @@ module.exports = function(mongoose, config) {
749
749
 
750
750
  const self = this;
751
751
 
752
- const query = self.findOne({
752
+ const query = self.find({
753
753
  'snapshots.status': { $nin: ['Completed', 'Archived'] },
754
754
  'snapshots.dueOn': { $lte: new Date() }
755
755
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "9.19.0",
3
+ "version": "9.19.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",