mirror of
https://github.com/strapi/strapi.git
synced 2025-11-01 18:33:55 +00:00
Properly flag that upload has multiple files
This commit is contained in:
parent
4e1d735803
commit
544b1258dd
@ -89,7 +89,7 @@ module.exports = {
|
||||
request: { body, files: { files } = {} },
|
||||
} = ctx;
|
||||
|
||||
const data = await validateUploadBody(body);
|
||||
const data = await validateUploadBody(body, Array.isArray(files));
|
||||
|
||||
const apiUploadFolderService = getService('api-upload-folder');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user