File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) fo
2929* ** readme:** add code coverage badge ([ #577 ] ( https://github.com/awslabs/aws-lambda-powertools-python/issues/577 ) )
3030* ** tracer:** update wording that it auto-disables on non-Lambda env
3131* ** feature-flags:** fix SAM infra, convert CDK to Python
32-
32+ * ** feature-flags: ** fix sample feature name in evaluate method
3333### Features
3434
3535* ** api-gateway:** add support for custom serializer ([ #568 ] ( https://github.com/awslabs/aws-lambda-powertools-python/issues/568 ) )
Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ The `evaluate` method supports two optional parameters:
192192
193193 # Evaluate whether customer's tier has access to premium features
194194 # based on `has_premium_features` rules
195- has_premium_features: bool = feature_flags.evaluate(name="has_premium_features ",
195+ has_premium_features: bool = feature_flags.evaluate(name="premium_features ",
196196 context=ctx, default=False)
197197 if has_premium_features:
198198 # enable premium features
You can’t perform that action at this time.
0 commit comments