What you want is upload.fields()
:
app.post('/rest/upload',
upload.fields([{
name: 'video', maxCount: 1
}, {
name: 'subtitles', maxCount: 1
}]), function(req, res, next){
// ...
}
What you want is upload.fields()
:
app.post('/rest/upload',
upload.fields([{
name: 'video', maxCount: 1
}, {
name: 'subtitles', maxCount: 1
}]), function(req, res, next){
// ...
}
For further actions, you may consider blocking this person and/or reporting abuse
Mario Dias -
Jagoum -
Paweł Piwosz -
DPC -
Top comments (0)