Skip to content

Commit

Permalink
feat: declare support for fastify 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadnassri committed Sep 14, 2023
1 parent ecf7558 commit da5d013
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const fp = require('fastify-plugin')

const plugin = require('./plugin')

const metadata = {
fastify: '3.x',
module.exports = fp(plugin, {
fastify: '4.x',
name: 'oas-fastify'
}

module.exports = require('fastify-plugin')(plugin, metadata)
})

0 comments on commit da5d013

Please sign in to comment.