@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 +1 -1
- package/package.json +1 -1
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.
|
|
752
|
+
const query = self.find({
|
|
753
753
|
'snapshots.status': { $nin: ['Completed', 'Archived'] },
|
|
754
754
|
'snapshots.dueOn': { $lte: new Date() }
|
|
755
755
|
});
|