Skip to content

Commit

Permalink
adding require('Joi') to readme instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbraus committed Sep 12, 2018
1 parent 282fdb8 commit b5c7379
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -31,6 +31,7 @@ You can pass in a validation object as a class attribute when you extend
```javascript
var db = require(knex)(require('./knexfile'));
var bookshelf = require('bookshelf')(db);
var Joi = require('joi');
// Pass an initialized bookshelf instance
var ModelBase = require('bookshelf-modelbase')(bookshelf);
// Or initialize as a bookshelf plugin
Expand Down

0 comments on commit b5c7379

Please sign in to comment.