Browse Source

test: airtable suite corrections

Signed-off-by: Raju Udava <86527202+dstala@users.noreply.github.com>
pull/5280/head
Raju Udava 2 years ago
parent
commit
fdaf5ee272
  1. 7
      packages/nocodb/src/lib/services/sync/helpers/readAndProcessData.ts

7
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, projectName: projectName,
tableName: table.title, tableName: assocMeta.modelMeta.title,
body: insertArray, body: insertArray,
cookie: {}, cookie: {},
}); });
console.log(x);
importedCount += insertArray.length; importedCount += insertArray.length;
insertArray = []; insertArray = [];
@ -328,7 +329,7 @@ export async function importLTARData({
await bulkDataService.bulkDataInsert({ await bulkDataService.bulkDataInsert({
projectName: projectName, projectName: projectName,
tableName: table.title, tableName: assocMeta.modelMeta.title,
body: assocTableData, body: assocTableData,
cookie: {}, cookie: {},
}); });

Loading…
Cancel
Save