@dhyasama/totem-models 8.55.0 → 8.56.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.
- package/lib/LimitedPartner.js +1 -1
- package/lib/Person.js +2 -1
- package/package.json +1 -1
package/lib/LimitedPartner.js
CHANGED
|
@@ -665,7 +665,7 @@ module.exports = function(mongoose, config) {
|
|
|
665
665
|
|
|
666
666
|
};
|
|
667
667
|
|
|
668
|
-
LimitedPartner.statics.
|
|
668
|
+
LimitedPartner.statics.removeCustomerInfo = function removeCustomerInfo(customerId, cb) {
|
|
669
669
|
|
|
670
670
|
const self = this;
|
|
671
671
|
|
package/lib/Person.js
CHANGED
|
@@ -138,7 +138,8 @@ module.exports = function(mongoose, config) {
|
|
|
138
138
|
|
|
139
139
|
Person.virtual('name.full').get(function () {
|
|
140
140
|
var name = '';
|
|
141
|
-
if(this.name.first) name += this.name.first
|
|
141
|
+
if(this.name.first) name += this.name.first;
|
|
142
|
+
if(this.name.first && this.name.last) name += ' ';
|
|
142
143
|
if(this.name.last) name += this.name.last;
|
|
143
144
|
return name;
|
|
144
145
|
});
|