Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.$container.bind('Adonis/Middleware/BodyParser', (app) => {
const config = app.use('Adonis/Src/Config').get('bodyparser', {})
return new BodyParserMiddleware(config)
})
}