Skip to content

Commit

Permalink
Fixed syntax highlight
Browse files Browse the repository at this point in the history
  • Loading branch information
franciscogouveia committed Feb 17, 2016
1 parent 207909e commit 225efae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,15 @@ Contexts are preserved per data retriever router.

You can also get data from data retriever router

```
```js
dataRetrieverRouter.get('credentials:username', (err, result) => {
...
});
```

And you can override the context on get, by passing it in the second argument

```
```js
dataRetrieverRouter.get('credentials:username', { username: 'the_overrider', group: ['anonymous'] }, (err, result) => {
...
});
Expand Down

0 comments on commit 225efae

Please sign in to comment.