Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bertho-zero committed May 29, 2020
1 parent d380d76 commit 732b5c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ Instead an array of middleware, a chainable middleware manager that allows to se
```js
const { hooks, middleware } = require('@feathersjs/hooks');

// Initialize middleware manager with name parameter 'name'
// Initialize middleware manager
const manager = middleware([
hook1,
hook2,
Expand Down Expand Up @@ -421,7 +421,6 @@ const sayHelloWithHooks = hooks(sayHello, middleware([
Initializes properties on the `context`

```js
// Or all together
const sayHelloWithHooks = hooks(sayHello, middleware([
hook1,
hook2,
Expand Down

0 comments on commit 732b5c9

Please sign in to comment.