From a86e7b06539518d054abbd90cdb8055adbdfedf4 Mon Sep 17 00:00:00 2001 From: Aubin Date: Fri, 20 Dec 2024 15:45:21 +0100 Subject: [PATCH] make parentId mandatory in upsertDataSourceTableFromCsv --- connectors/src/lib/data_sources.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/connectors/src/lib/data_sources.ts b/connectors/src/lib/data_sources.ts index d8fe53fb3622..6fb6cb22aedb 100644 --- a/connectors/src/lib/data_sources.ts +++ b/connectors/src/lib/data_sources.ts @@ -778,7 +778,7 @@ export async function upsertDataSourceTableFromCsv({ loggerArgs, truncate, parents, - parentId = null, + parentId, useAppForHeaderDetection, title, mimeType, @@ -791,7 +791,7 @@ export async function upsertDataSourceTableFromCsv({ loggerArgs?: Record; truncate: boolean; parents: string[]; - parentId?: string | null; + parentId: string | null; useAppForHeaderDetection?: boolean; title: string; mimeType: string;