Comparing version 1.0.1 to 1.0.3
{ | ||
"name": "celebrate", | ||
"version": "1.0.1", | ||
"version": "1.0.3", | ||
"description": "A joi validation middleware for Express.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -32,3 +32,3 @@ ![Celebrate](https://github.com/continuationlabs/celebrate/raw/master/images/logo.png) | ||
query: { | ||
token: Joi.string().token.required() | ||
token: Joi.string().token().required() | ||
} | ||
@@ -69,2 +69,2 @@ }), (req, res) => { | ||
*Before* opening issues on this repo, make sure your joi schema is correct and working like as you inted. The bulk of this code is just exposing the joi API as Express middleware. All of the heavy lifting still happens inside joi. | ||
*Before* opening issues on this repo, make sure your joi schema is correct and workingas you intend. The bulk of this code is just exposing the joi API as Express middleware. All of the heavy lifting still happens inside joi. |
69
5314
4
49