Skip to content

Commit

Permalink
docs: fix middlware docs (#1037)
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaledgarbaya authored and bcoe committed Jan 9, 2018
1 parent 331d103 commit e87f487
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/advanced.md
Expand Up @@ -467,7 +467,8 @@ var argv = require('yargs')
.option('password')
} ,(argv) => {
authenticateUser(argv.username, argv.password)
})
.middlewares([normalizeCredentials])
},
[normalizeCredentials]
)
.argv;
```

0 comments on commit e87f487

Please sign in to comment.