From 6e522b0a047353009f00ea3936782e7ca7f78cc0 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Mon, 19 Feb 2024 16:30:41 +0530 Subject: [PATCH] fix: remove extra extractCompositePK call Signed-off-by: Pranav C --- packages/nocodb/src/db/BaseModelSqlv2.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/nocodb/src/db/BaseModelSqlv2.ts b/packages/nocodb/src/db/BaseModelSqlv2.ts index 07fc9237a5..2a6adeb4e7 100644 --- a/packages/nocodb/src/db/BaseModelSqlv2.ts +++ b/packages/nocodb/src/db/BaseModelSqlv2.ts @@ -2450,11 +2450,7 @@ class BaseModelSqlv2 { if (!response) await this.execAndParse(query); response = await this.readByPk( this.extractCompositePK({ - rowId: this.extractCompositePK({ - rowId: insertObj[ag.column_name], - insertObj, - ag, - }), + rowId: insertObj[ag.column_name], insertObj, ag, }),