@dhyasama/totem-models 3.5.0 → 3.5.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/Financials.js CHANGED
@@ -138,12 +138,7 @@ module.exports = function(mongoose, config) {
138
138
 
139
139
  Financials.post('init', function(doc, next) {
140
140
 
141
- // doc.revenue.past = _.sortBy(doc.revenue.past, '-year');
142
- // doc.expenses.past = _.sortBy(doc.expenses.past, '-year');
143
- // doc.grossProfit.past = _.sortBy(doc.grossProfit.past, '-year');
144
- // doc.operatingIncome.past = _.sortBy(doc.operatingIncome.past, '-year');
145
-
146
- // return next();
141
+ return next();
147
142
 
148
143
  });
149
144
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",