From aef6b290b40b2e6581984c6e290769e2353a1353 Mon Sep 17 00:00:00 2001 From: Sebastian Rindom Date: Sun, 29 Sep 2024 13:48:21 +0200 Subject: [PATCH] fix: force string compare (#9360) fixes CC-536 --- packages/modules/fulfillment/src/utils/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/modules/fulfillment/src/utils/utils.ts b/packages/modules/fulfillment/src/utils/utils.ts index 8e85efec69..025f70505c 100644 --- a/packages/modules/fulfillment/src/utils/utils.ts +++ b/packages/modules/fulfillment/src/utils/utils.ts @@ -83,7 +83,7 @@ export function isContextValid( const contextValue = pickValueFromObject(attribute, context) return operatorsPredicate[operator]( - contextValue, + `${contextValue}`, value as string & string[] ) }