From 4732d34a30631bdb6ee3fdd297934e50f19d9710 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Thu, 25 May 2023 15:54:52 +0530 Subject: [PATCH] fix: pass query params and fieldSet properly Signed-off-by: Pranav C --- packages/nocodb/src/services/datas.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/services/datas.service.ts b/packages/nocodb/src/services/datas.service.ts index fac808d099..c41609f6c0 100644 --- a/packages/nocodb/src/services/datas.service.ts +++ b/packages/nocodb/src/services/datas.service.ts @@ -185,7 +185,7 @@ export class DatasService { view, }); - const data = await baseModel.findOne({ ...args, dependencyFields }); + const data = await baseModel.findOne({ ...args, ...dependencyFields }); return data ? await nocoExecute(ast, data, {}, dependencyFields) : {}; }