@dhyasama/totem-models 11.137.0 → 11.138.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.
Files changed (2) hide show
  1. package/lib/Financials.js +0 -11
  2. package/package.json +1 -1
package/lib/Financials.js CHANGED
@@ -1241,17 +1241,6 @@ module.exports = function(mongoose, config) {
1241
1241
 
1242
1242
  updateStatus(self);
1243
1243
 
1244
- // Wipe out previous values on metrics when a metric is verified
1245
- _.each(self.snapshots, function(snapshot) {
1246
- if (snapshot) {
1247
- _.each(snapshot.metrics, function(metric) {
1248
- if (metric && metric.verified && metric.previous) {
1249
- metric.previous = undefined;
1250
- }
1251
- });
1252
- }
1253
- });
1254
-
1255
1244
  return next();
1256
1245
 
1257
1246
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "11.137.0",
3
+ "version": "11.138.0",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",