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,
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: {},
});

Loading…
Cancel
Save