@dhyasama/totem-models 9.107.0 → 9.108.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.
@@ -95,7 +95,7 @@ module.exports = function(mongoose, config) {
95
95
  sendOn: { $lte: now }
96
96
  });
97
97
 
98
- query.populate('customer', 'name logoUrl');
98
+ query.populate('customer', 'name logoUrl customer');
99
99
 
100
100
  // Earliest first
101
101
  query.sort({ sendOn: 1 });
@@ -867,8 +867,6 @@ module.exports = function(mongoose, config) {
867
867
 
868
868
  const self = this;
869
869
 
870
- if(self.operating && self.operating.closed && self.operating.closed.on) console.log(self.operating.closed.toString());
871
-
872
870
  if (self.ipo && self.ipo.ticker) return 'IPO';
873
871
  else if (self.operating && self.operating.acquired && (self.operating.acquired.by || self.operating.acquired.on)) return 'Acquired';
874
872
  else if (self.operating && self.operating.merged && (self.operating.merged.with || self.operating.merged.on)) return 'Merged';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "9.107.0",
3
+ "version": "9.108.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",