Merge pull request #13122 from Float07/patch-1

Fix small typo in Mongo.ObjectID documentation
This commit is contained in:
Nacho Codoñer
2024-05-03 08:21:38 +02:00
committed by GitHub

View File

@@ -941,7 +941,7 @@ function wrapCallback(callback, convertResult) {
}
/**
* @summary Create a Mongo-style `ObjectID`. If you don't specify a `hexString`, the `ObjectID` will generated randomly (not using MongoDB's ID construction rules).
* @summary Create a Mongo-style `ObjectID`. If you don't specify a `hexString`, the `ObjectID` will be generated randomly (not using MongoDB's ID construction rules).
* @locus Anywhere
* @class
* @param {String} [hexString] Optional. The 24-character hexadecimal contents of the ObjectID to create