@dhyasama/totem-models 9.58.0 → 9.59.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.
@@ -90,7 +90,7 @@ module.exports = function(mongoose, config) {
90
90
 
91
91
  // Reject anything that didn't match on customer id
92
92
  result = _.reject(result, function(r) {
93
- return !r.Event.customer;
93
+ return !r.Event || !r.Event.customer;
94
94
  });
95
95
 
96
96
  return cb(null, result);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "9.58.0",
3
+ "version": "9.59.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",