Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/document.js
Original file line number Diff line number Diff line change
Expand Up @@ -1975,7 +1975,7 @@ Document.prototype.$__validate = function(callback) {
* }
*
* @param {Array|string} pathsToValidate only validate the given paths
* @return {MongooseError|undefined} MongooseError if there are errors during validation, or undefined if there is no error.
* @return {ValidationError|undefined} ValidationError if there are errors during validation, or undefined if there is no error.
* @api public
*/

Expand Down

0 comments on commit 971e98b

Please sign in to comment.