diff --git a/packages/nocodb/src/lib/services/sync/helpers/readAndProcessData.ts b/packages/nocodb/src/lib/services/sync/helpers/readAndProcessData.ts index f45ec91c33..37f91605fb 100644 --- a/packages/nocodb/src/lib/services/sync/helpers/readAndProcessData.ts +++ b/packages/nocodb/src/lib/services/sync/helpers/readAndProcessData.ts @@ -298,12 +298,13 @@ export async function importLTARData({ )}` ); - await bulkDataService.bulkDataInsert({ + const x = await bulkDataService.bulkDataInsert({ projectName: projectName, - tableName: table.title, + tableName: assocMeta.modelMeta.title, body: insertArray, cookie: {}, }); + console.log(x); importedCount += insertArray.length; insertArray = []; @@ -328,7 +329,7 @@ export async function importLTARData({ await bulkDataService.bulkDataInsert({ projectName: projectName, - tableName: table.title, + tableName: assocMeta.modelMeta.title, body: assocTableData, cookie: {}, });