From 3c8b766ea667fa49c8580cb61a0fe94ed6c15427 Mon Sep 17 00:00:00 2001 From: andreas-unleash Date: Mon, 8 May 2023 14:56:42 +0300 Subject: [PATCH] fix: Add default value for shouldActivateDisabledStrategies (#3711) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## About the changes Closes # ### Important files ## Discussion points Signed-off-by: andreas-unleash --- src/lib/services/feature-toggle-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/services/feature-toggle-service.ts b/src/lib/services/feature-toggle-service.ts index f786b8930d..235cb3e1f0 100644 --- a/src/lib/services/feature-toggle-service.ts +++ b/src/lib/services/feature-toggle-service.ts @@ -1292,7 +1292,7 @@ class FeatureToggleService { environment: string, enabled: boolean, createdBy: string, - shouldActivateDisabledStrategies: boolean, + shouldActivateDisabledStrategies = false, ): Promise { const hasEnvironment = await this.featureEnvironmentStore.featureHasEnvironment(