stockshark-data-access
Advanced tools
Comparing version 1.0.75 to 1.0.76
{ | ||
"name": "stockshark-data-access", | ||
"version": "1.0.75", | ||
"version": "1.0.76", | ||
"main": "./src/index.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -172,3 +172,3 @@ const MongoClient = require("mongodb").MongoClient; | ||
doc.version = typeof version !== "undefined" ? version + 1 : 0; | ||
return await coll.replaceOne({ _id: doc._id }, doc, { upsert: true }); | ||
return await coll.replaceOne({ _id: doc._id }, doc, { upsert: false }); | ||
} | ||
@@ -175,0 +175,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
27690