@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.
- package/lib/LimitedPartner.js +1 -1
- package/package.json +1 -1
package/lib/LimitedPartner.js
CHANGED
|
@@ -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.
|
|
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); }
|