Skip to content

Commit

Permalink
fix proto method name
Browse files Browse the repository at this point in the history
  • Loading branch information
onhernandes committed Jul 28, 2020
1 parent 7d32293 commit 464da4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Parser.prototype.stringify = function stringify (data, options) {
* @param {string} data
* @param {object} options
*/
Parser.prototype.stringify = function stringify (data, options) {
Parser.prototype.valid = function stringify (data, options) {
return this.strategy.valid(data, options)
}

Expand Down

0 comments on commit 464da4c

Please sign in to comment.