@dhyasama/totem-models 8.5.2 → 8.5.3

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.
@@ -526,7 +526,7 @@ module.exports = function(mongoose, config) {
526
526
  if (err) { return cb(err, null); }
527
527
  if (!lp) { return cb(null, null); }
528
528
 
529
- Organization.collection.findById(options.CUSTOMER_ID, function(err, customer) {
529
+ Organization.findById(options.CUSTOMER_ID, function(err, customer) {
530
530
 
531
531
  if (err) { return cb(err, null); }
532
532
  if (!customer) { return cb(null, null); }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "8.5.2",
3
+ "version": "8.5.3",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",