Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
okjulian committed Jun 3, 2018
1 parent d374c99 commit 95b245f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manuscript/chapter-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ addPin: async (_, { pin }, { token }) => {
},
```

The file called `database.js` instantiates an instance of knex and exports it as a module. It is a simple file that creates a knex instance with configuration values from a file called `knexfile.js`.
The file called `database.js` creates an instance of knex and exports it as a module. It is a simple file that creates a knex instance with configuration values from a file called `knexfile.js`.

```js
const database = require("knex")(require("./knexfile"));
Expand Down

0 comments on commit 95b245f

Please sign in to comment.