diff --git a/src/middleware/express.app.config.ts b/src/middleware/express.app.config.ts index e72636e1e..a90b93aae 100644 --- a/src/middleware/express.app.config.ts +++ b/src/middleware/express.app.config.ts @@ -35,6 +35,7 @@ export class ExpressAppConfig { this.app.use(bodyParser.urlencoded()); this.app.use(bodyParser.text()); this.app.use(bodyParser.json()); + this.app.use(bodyParser.raw({ type: 'application/pdf' })); this.app.use(this.configureLogger(appOptions.logging)); this.app.use(express.json());