From 90289320512829c051a9c14362ea90ffbae2d117 Mon Sep 17 00:00:00 2001 From: mertmit Date: Wed, 15 May 2024 16:03:40 +0000 Subject: [PATCH] fix: missing prop for extractCompositePK --- packages/nocodb/src/db/BaseModelSqlv2.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/nocodb/src/db/BaseModelSqlv2.ts b/packages/nocodb/src/db/BaseModelSqlv2.ts index d474f8de09..97844a482f 100644 --- a/packages/nocodb/src/db/BaseModelSqlv2.ts +++ b/packages/nocodb/src/db/BaseModelSqlv2.ts @@ -2817,7 +2817,7 @@ class BaseModelSqlv2 { ? response?.[0]?.[ai.id] : response?.[ai.id]; response = await this.readByPk( - this.extractCompositePK({ rowId: id, insertObj, ag }), + this.extractCompositePK({ rowId: id, insertObj, ag, ai }), false, {}, { ignoreView: true, getHiddenColumn: true }, @@ -3250,8 +3250,8 @@ class BaseModelSqlv2 { insertObj, force = false, }: { - ai?: Column; - ag?: Column; + ai: Column; + ag: Column; rowId; insertObj: Record; force?: boolean;