Browse Source

fix: params correction

pull/7958/head
Pranav C 8 months ago
parent
commit
fbe1e9a209
  1. 1
      packages/nocodb/src/services/public-datas.service.ts

1
packages/nocodb/src/services/public-datas.service.ts

@ -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)}`;

Loading…
Cancel
Save