stockshark-data-access
Advanced tools
Comparing version 1.0.20 to 1.0.21
{ | ||
"name": "stockshark-data-access", | ||
"version": "1.0.20", | ||
"version": "1.0.21", | ||
"main": "./src/index.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -94,4 +94,4 @@ const MongoClient = require('mongodb').MongoClient; | ||
const id = item._id | ||
const obj = delete item._id | ||
const task = this.upsertOne(collection, id, obj) | ||
delete item._id | ||
const task = this.upsertOne(collection, id, item) | ||
tasks.push(task) | ||
@@ -98,0 +98,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14049