|
|
@ -331,7 +331,6 @@ export class PublicDatasService { |
|
|
|
originalName = populateUniqueFileName( |
|
|
|
originalName = populateUniqueFileName( |
|
|
|
originalName, |
|
|
|
originalName, |
|
|
|
attachments[fieldName].map((att) => att?.title), |
|
|
|
attachments[fieldName].map((att) => att?.title), |
|
|
|
file.mimetype, |
|
|
|
|
|
|
|
); |
|
|
|
); |
|
|
|
|
|
|
|
|
|
|
|
const fileName = `${nanoid(18)}${path.extname(originalName)}`; |
|
|
|
const fileName = `${nanoid(18)}${path.extname(originalName)}`; |
|
|
|