fix: refs #6184 uploadFile
This commit is contained in:
parent
9f067fc9b3
commit
7d3cf162b8
|
@ -88,7 +88,7 @@ module.exports = Self => {
|
||||||
warehouseFk: args.warehouseId,
|
warehouseFk: args.warehouseId,
|
||||||
reference: args.reference,
|
reference: args.reference,
|
||||||
description: args.description,
|
description: args.description,
|
||||||
contentType: args.contentType,
|
contentType: uploadedFile.type,
|
||||||
hasFile: args.hasFile
|
hasFile: args.hasFile
|
||||||
};
|
};
|
||||||
const extension = await models.DmsContainer.getFileExtension(uploadedFile.name);
|
const extension = await models.DmsContainer.getFileExtension(uploadedFile.name);
|
||||||
|
|
Loading…
Reference in New Issue