Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct @hapi/boom usage example #128

Merged
merged 1 commit into from
Aug 22, 2021
Merged

Conversation

RavenHursT
Copy link
Contributor

With the latest version of @hapi/boom (v9.1.1) the notImplemented and methodNotAllowed properties on the default export of the package are not constructors. So there's not need for the keyword new. This also updates the package reference from boom => @hapi/boom.

RE: #127

@niftylettuce niftylettuce merged commit 904db98 into koajs:master Aug 22, 2021
@niftylettuce
Copy link
Contributor

Fantastic!! Thank you @RavenHursT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants