@dhyasama/totem-models 7.0.2 → 7.0.3

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
@@ -178,7 +178,7 @@ module.exports = function(mongoose, config) {
178
178
 
179
179
  var names = _.map(this.snapshots, function(snapshot) {
180
180
  if (snapshot.year && snapshot.period) { return snapshot.year.toString() + ' ' + snapshot.period; }
181
- else if (snapshot.year) { return snapshot.year; }
181
+ else if (snapshot.year) { return snapshot.year.toString(); }
182
182
  else if (snapshot.period) { return snapshot.period; }
183
183
  else { return null; }
184
184
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "7.0.2",
3
+ "version": "7.0.3",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",