Browse Source

fix(nocodb): case any to ParseStepResult

pull/5903/head
Wing-Kam Wong 1 year ago
parent
commit
cc8db2ba87
  1. 2
      packages/nocodb/src/modules/jobs/jobs/export-import/duplicate.processor.ts
  2. 2
      packages/nocodb/src/modules/jobs/jobs/export-import/import.service.ts

2
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({

2
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({

Loading…
Cancel
Save