mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix merge typo in mongo/collection.js.
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user