diff --git a/packages/nocodb/src/modules/jobs/jobs/export-import/duplicate.processor.ts b/packages/nocodb/src/modules/jobs/jobs/export-import/duplicate.processor.ts index dc471803b8..03a49ffff6 100644 --- a/packages/nocodb/src/modules/jobs/jobs/export-import/duplicate.processor.ts +++ b/packages/nocodb/src/modules/jobs/jobs/export-import/duplicate.processor.ts @@ -315,7 +315,7 @@ export class DuplicateProcessor { step: async (results, parser) => { if (!headers.length) { parser.pause(); - for (const header of results.data) { + for (const header of results.data as any) { const id = idMap.get(header); if (id) { const col = await Column.get({ diff --git a/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts b/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts index 08c75b8abe..ad4b83a82b 100644 --- a/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts +++ b/packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts @@ -1254,7 +1254,7 @@ export class ImportService { step: async (results, parser) => { if (!headers.length) { parser.pause(); - for (const header of results.data) { + for (const header of results.data as any) { const id = idMap.get(header); if (id) { const col = await Column.get({