Skip to content

Commit 60a9185

Browse files
align with other FM to produce True/False instead of true/false
1 parent eb4c866 commit 60a9185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/feature-management/src/telemetry/featureEvaluationEvent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export function createFeatureEvaluationEventProperties(result: EvaluationResult)
2121
const eventProperties = {
2222
[VERSION]: EVALUATION_EVENT_VERSION,
2323
[FEATURE_NAME]: result.feature ? result.feature.id : "",
24-
[ENABLED]: result.enabled.toString(),
24+
[ENABLED]: result.enabled ? "True" : "False",
2525
// Ensure targetingId is string so that it will be placed in customDimensions
2626
[TARGETING_ID]: result.targetingId ? result.targetingId.toString() : "",
2727
[VARIANT]: result.variant ? result.variant.name : "",

0 commit comments

Comments
 (0)