From 8eb128f09d4ca1bb8629ab6892ff62747264ee99 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 9 Nov 2023 01:42:53 +0530 Subject: [PATCH] fix: type correction Signed-off-by: Pranav C --- packages/nocodb/src/db/BaseModelSqlv2.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/db/BaseModelSqlv2.ts b/packages/nocodb/src/db/BaseModelSqlv2.ts index f80e34bd92..ee7616b861 100644 --- a/packages/nocodb/src/db/BaseModelSqlv2.ts +++ b/packages/nocodb/src/db/BaseModelSqlv2.ts @@ -2617,7 +2617,7 @@ class BaseModelSqlv2 { data: Record; insertObj: Record; }) { - const postInsertOps: ((rowId: any, trx: any) => Promise)[] = []; + const postInsertOps: ((rowId: any, trx?: any) => Promise)[] = []; for (const col of nestedCols) { if (col.title in data) { const colOptions = await col.getColOptions();