From bede2769f3361b2f5964cbdc20a1c37adac9d720 Mon Sep 17 00:00:00 2001 From: Alexander Pyatakov Date: Wed, 15 Jan 2025 15:08:05 +0000 Subject: [PATCH] fix for dynamic filters --- .../src/policy-engine/blocks/documents-source-addon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policy-service/src/policy-engine/blocks/documents-source-addon.ts b/policy-service/src/policy-engine/blocks/documents-source-addon.ts index e06f2e7e8d..f3c4d99cf8 100644 --- a/policy-service/src/policy-engine/blocks/documents-source-addon.ts +++ b/policy-service/src/policy-engine/blocks/documents-source-addon.ts @@ -118,7 +118,7 @@ export class DocumentsSourceAddon { const dynFilters = {}; for (const [key, value] of Object.entries(await ref.getFilters(user))) { - dynFilters[key] = { $eq: value }; + dynFilters[key] = value; } Object.assign(filters, dynFilters);