Skip to content

Commit a0db4e8

Browse files
committed
chore: Fixed README.
1 parent b472e58 commit a0db4e8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ To clarify, take this server as a example:
4646

4747
```js
4848
import fastify from 'fastify'
49-
import FastifyHttpErrorsEnhanced from 'fastify-http-errors-enhanced'
49+
import fastifyHttpErrorsEnhanced from 'fastify-http-errors-enhanced'
5050
import { NotFoundError } from 'http-errors-enhanced'
5151

5252
const server = fastify()
53-
server.register(FastifyHttpErrorsEnhanced)
53+
server.register(fastifyHttpErrorsEnhanced)
5454

5555
server.get('/invalid', {
5656
handler: async function (request, reply) {
@@ -104,11 +104,11 @@ To clarify, take this server as a example:
104104

105105
```js
106106
import fastify from 'fastify'
107-
import FastifyHttpErrorsEnhanced from 'fastify-http-errors-enhanced'
107+
import fastifyHttpErrorsEnhanced from 'fastify-http-errors-enhanced'
108108
import { NotFoundError } from 'http-errors-enhanced'
109109
import createError from 'http-errors'
110110

111-
server.register(FastifyHttpErrorsEnhanced, { hideUnhandledErrors: false })
111+
server.register(fastifyHttpErrorsEnhanced, { hideUnhandledErrors: false })
112112

113113
server.get('/invalid', {
114114
handler(request, reply) {

0 commit comments

Comments
 (0)