@dhyasama/totem-models 8.8.0 → 8.8.1

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/Investment.js CHANGED
@@ -159,9 +159,7 @@ module.exports = function(mongoose, config) {
159
159
 
160
160
  Investment.post('remove', function(doc) {
161
161
  // Clean up reference
162
- Round.removeInvestment(doc._id, function(err, result) {
163
- if (err) console.log(err);
164
- });
162
+ Round.removeInvestment(doc._id);
165
163
  });
166
164
 
167
165
 
package/lib/Round.js CHANGED
@@ -675,7 +675,6 @@ module.exports = function(mongoose, config) {
675
675
  if (!options.isWorkerProcess) {
676
676
  _.each(rounds, function(round) {
677
677
  round.organization = helpers.cleanOrg(round.organization, options.CUSTOMER_ID);
678
- if(round.organization.filters) console.log(round.organization.filters.toObject());
679
678
  });
680
679
  }
681
680
 
@@ -739,7 +738,6 @@ module.exports = function(mongoose, config) {
739
738
  if (!options.isWorkerProcess) {
740
739
  _.each(rounds, function(round) {
741
740
  round.organization = helpers.cleanOrg(round.organization, options.CUSTOMER_ID);
742
- if(round.organization.filters) console.log(round.organization.filters.toObject());
743
741
  });
744
742
  }
745
743
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "8.8.0",
3
+ "version": "8.8.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",