RocksonZeta / koa-validate

validate koa request params and format request params
https://github.com/RocksonZeta/koa-validate
MIT License
284 stars 32 forks source link

Is this right? #7

Closed RHavar closed 9 years ago

RHavar commented 9 years ago

https://github.com/RocksonZeta/koa-validate/blob/master/lib/validate.js#L396-L397

Shouldn't the tip be passed to .isInt, not hasError?

RocksonZeta commented 9 years ago

That's my fault,thanks a lot!