This paremeter is boolean not string

This commit is contained in:
Daniel Lugo 2022-01-29 16:26:21 -05:00
parent f6c4999c63
commit 2e65d20c39

View file

@ -280,7 +280,7 @@ const server = program => {
saveUninitialized: true saveUninitialized: true
}) })
) )
app.use(bodyParser.urlencoded({ extended: 'true' })) app.use(bodyParser.urlencoded({ extended: true }))
app.use(bodyParser.json({ limit: '500kb' })) app.use(bodyParser.json({ limit: '500kb' }))
app.use(bodyParser.json({ type: 'application/vnd.api+json' })) app.use(bodyParser.json({ type: 'application/vnd.api+json' }))
app.use(methodOverride()) app.use(methodOverride())