Skip to content

Commit

Permalink
fix(schematype): correct _applySetters signature for 6.0 re: #9588
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Jan 11, 2021
1 parent 5c85b04 commit 9cde630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/schematype.js
Expand Up @@ -1063,7 +1063,7 @@ SchemaType.prototype.getDefault = function(scope, init) {
* @api private
*/

SchemaType.prototype._applySetters = function(value, scope) {
SchemaType.prototype._applySetters = function(value, scope, init, priorVal) {
let v = value;
const setters = this.setters;

Expand Down

0 comments on commit 9cde630

Please sign in to comment.