Fix merge typo in mongo/collection.js.

This commit is contained in:
Ben Newman
2017-12-08 18:41:15 -05:00
parent bf9624f644
commit 2babb70764

View File

@@ -449,6 +449,7 @@ Mongo.Collection = class Collection {
// Make sure we were passed a document to insert
if (!doc) {
throw new Error("insert requires an argument");
}
// Make a shallow clone of the document, preserving its prototype.
doc = Object.create(