@dhyasama/totem-models 7.40.0 → 7.40.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.
Files changed (2) hide show
  1. package/lib/Deal.js +2 -2
  2. package/package.json +1 -1
package/lib/Deal.js CHANGED
@@ -333,13 +333,13 @@ module.exports = function(mongoose, config) {
333
333
 
334
334
  deal.history = deal.history || [];
335
335
 
336
- deal.history.push({
336
+ deal.history = deal.history.concat([{
337
337
  timestamp: new Date(),
338
338
  account: user,
339
339
  stage: deal.stage,
340
340
  fundraise: deal.fundraise,
341
341
  description: description
342
- });
342
+ }]);
343
343
 
344
344
  }
345
345
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "7.40.0",
3
+ "version": "7.40.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",