Skip to content

Commit f7850c5

Browse files
committed
raw and multipart array
1 parent 58f7a33 commit f7850c5

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/service/service-host.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,10 @@ class ServiceHost {
4141

4242
if(debug.enabled){ this.apiApp.use(morgan('combined')) }
4343

44+
this.apiApp.use(multer().array())
4445
this.apiApp.use(bodyParser.urlencoded({ extended: true }))
4546
this.apiApp.use(bodyParser.json())
46-
this.apiApp.use(multer().none())
47+
this.apiApp.use(bodyParser.raw())
4748

4849
this.apiApp.set('trust proxy', trust_proxy)
4950

0 commit comments

Comments
 (0)