fix: refs #6184 uploadFile
gitea/salix/pipeline/pr-master This commit looks good Details
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Guillermo Bonet 2024-02-22 11:22:39 +01:00
parent 9f067fc9b3
commit 7d3cf162b8
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ module.exports = Self => {
warehouseFk: args.warehouseId,
reference: args.reference,
description: args.description,
contentType: args.contentType,
contentType: uploadedFile.type,
hasFile: args.hasFile
};
const extension = await models.DmsContainer.getFileExtension(uploadedFile.name);