From e0faa3e84228e51514cad01452992a24eddda739 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20G=C3=B3is?= Date: Sun, 8 Oct 2023 18:22:12 +0100 Subject: [PATCH] fix: typo in enabled event (#4960) Fixes a typo where we would send `disabled` for `enabled` events. https://unleash-community.slack.com/archives/C03GWTN7XMG/p1696631381409369 --- src/lib/addons/feature-event-formatter-md.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/addons/feature-event-formatter-md.ts b/src/lib/addons/feature-event-formatter-md.ts index 0351235a5f0c..2b499dc1fbbc 100644 --- a/src/lib/addons/feature-event-formatter-md.ts +++ b/src/lib/addons/feature-event-formatter-md.ts @@ -166,7 +166,7 @@ const EVENT_MAP: Record = { path: '/projects/{{event.project}}/features/{{event.featureName}}', }, [FEATURE_ENVIRONMENT_ENABLED]: { - action: '*{{user}}* disabled *{{feature}}* for the *{{event.environment}}* environment in project *{{project}}*', + action: '*{{user}}* enabled *{{feature}}* for the *{{event.environment}}* environment in project *{{project}}*', path: '/projects/{{event.project}}/features/{{event.featureName}}', }, [FEATURE_ENVIRONMENT_VARIANTS_UPDATED]: {