From 7050c5352a7ab97b998136f89ab2d66354a168e7 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Fri, 29 Sep 2023 16:09:08 +0200 Subject: [PATCH] Check external table types --- packages/server/src/utilities/rowProcessor/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/server/src/utilities/rowProcessor/index.ts b/packages/server/src/utilities/rowProcessor/index.ts index 5dc2546a52..c1b4bcf7e5 100644 --- a/packages/server/src/utilities/rowProcessor/index.ts +++ b/packages/server/src/utilities/rowProcessor/index.ts @@ -11,6 +11,7 @@ import { processInputBBReferences, processOutputBBReferences, } from "./bbReferenceProcessor" +import { isExternalTable } from "../../integrations/utils" export * from "./utils" type AutoColumnProcessingOpts = { @@ -251,7 +252,7 @@ export async function outputProcessing( )) as Row[] } // remove null properties to match internal API - if (table.sourceId) { + if (isExternalTable(table._id!)) { for (let row of enriched) { for (let key of Object.keys(row)) { if (row[key] === null) {