@dhyasama/totem-models 5.8.0 → 5.8.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.
Files changed (2) hide show
  1. package/lib/Message.js +1 -1
  2. package/package.json +1 -1
package/lib/Message.js CHANGED
@@ -269,7 +269,7 @@ module.exports = function(mongoose, config) {
269
269
  var query = self.find({
270
270
  customer: customerId,
271
271
  subtype: 'deals',
272
- organization: { $exists: false }
272
+ organization: null
273
273
  });
274
274
  query.populate({
275
275
  path: 'documents',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "5.8.0",
3
+ "version": "5.8.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",