@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.
@@ -665,7 +665,7 @@ module.exports = function(mongoose, config) {
665
665
 
666
666
  };
667
667
 
668
- LimitedPartner.statics.removeCustomerExtras = function removeCustomerExtras(customerId, cb) {
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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "8.55.0",
3
+ "version": "8.56.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",