koa-async-validator
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -6,3 +6,3 @@ { | ||
"contributors": [], | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/carlitux/koa-async-validator", | ||
@@ -9,0 +9,0 @@ "license": "MIT", |
@@ -33,3 +33,3 @@ # koa-async-validator | ||
app.use(bodyParser()); | ||
app.use(expressValidator([options])); // this line must be immediately after bodyParser()! | ||
app.use(koaValidator([options])); // this line must be immediately after bodyParser()! | ||
@@ -36,0 +36,0 @@ router.post('/:urlparam', async (ctx, next) => { |
80502