diff --git a/src/middleware/express.app.config.ts b/src/middleware/express.app.config.ts index 6cc0a400af..07314b611d 100644 --- a/src/middleware/express.app.config.ts +++ b/src/middleware/express.app.config.ts @@ -30,6 +30,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());