@dhyasama/totem-models 11.30.1 → 11.30.2

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.
@@ -134,11 +134,11 @@ module.exports = function(mongoose, config) {
134
134
 
135
135
  };
136
136
 
137
- FinancialsAnalysis.statics.upsert = function upsert({}, cb) {
137
+ FinancialsAnalysis.statics.upsert = function upsert(doc, cb) {
138
138
 
139
- if (!financials) { return cb(new Error('financials is required'), null); }
139
+ if (!doc) { return cb(new Error('doc is required'), null); }
140
140
 
141
- financials.save(cb);
141
+ doc.save(cb);
142
142
 
143
143
  };
144
144
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhyasama/totem-models",
3
- "version": "11.30.1",
3
+ "version": "11.30.2",
4
4
  "author": "Jason Reynolds",
5
5
  "license": "UNLICENSED",
6
6
  "description": "Models for Totem platform",