From fdaf5ee272f7a9f812d5d401f234f61a2fdeae0d Mon Sep 17 00:00:00 2001 From: Raju Udava <86527202+dstala@users.noreply.github.com> Date: Mon, 13 Mar 2023 11:07:34 +0530 Subject: [PATCH] test: airtable suite corrections Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com> --- .../src/lib/services/sync/helpers/readAndProcessData.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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: {}, });