Skip to content

Commit

Permalink
Fix bad API reference in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
devinivy committed Jan 24, 2021
1 parent 094d0a7 commit dfbec5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -16,7 +16,7 @@ npm install @hapipal/avocat
>
> Avocat is intended for use with hapi v19+, nodejs v12+, and Objection v2 (_see v1 for lower support_).
Avocat provides a single utility function [`Avocat.throw(error, [options])`](API.md#avocatthrowerror-options) which transforms database errors from Objection into Boom HTTP errors that are compatible with hapi.
Avocat provides a single utility function [`Avocat.rethrow(error, [options])`](API.md#avocatrethrowerror-options) which transforms database errors from Objection into Boom HTTP errors that are compatible with hapi.

```js
'use strict';
Expand Down

0 comments on commit dfbec5e

Please sign in to comment.