Skip to content

Commit

Permalink
docs: fix docs to point to correct @fastify/awilix/lib/classic (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
dancastillo authored Jan 24, 2024
1 parent d8eb441 commit 7935881
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 @@ -183,7 +183,7 @@ await app.ready()
If you prefer [classic injection](https://github.com/jeffijoe/awilix#injection-modes), you can use it like this:

```javascript
const { fastifyAwilixPlugin } = require('@fastify/awilix/classic')
const { fastifyAwilixPlugin } = require('@fastify/awilix/lib/classic')
const fastify = require('fastify')

app = fastify({ logger: true })
Expand Down

0 comments on commit 7935881

Please sign in to comment.