Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Wes Todd <wes@wesleytodd.com>
  • Loading branch information
dougwilson and wesleytodd committed May 14, 2020
1 parent 6691aa4 commit 5839c40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Maps the specified path parameter `name` to a specialized param-capturing middle

This function positions the middleware in the same stack as `.use`.

If a `Promise` object is returned from the `param_middleware` function, the router
If a `Promise` is returned from the `param_middleware` function, the router
will attach an `onRejected` callback using `.then`. If the promise is rejected,
`next` will be called with the rejected value, or an error if the value is falsy.

Expand Down

0 comments on commit 5839c40

Please sign in to comment.