Skip to content

Commit b97ec1a

Browse files
update
1 parent 98a3c15 commit b97ec1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-app-configuration/feature-management-javascript-reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ const featureManager = new FeatureManager(featureProvider);
154154
You need to call the `refresh` method to get the latest feature flag state.
155155

156156
```typescript
157-
await appConfig.refresh(); // Refresh to get the latest feature flag settings
158-
const isBetaEnabled = await fm.isEnabled("Beta");
157+
await appConfig.refresh(); // Refresh to get the latest feature flags
158+
const isBetaEnabled = await featureManager.isEnabled("Beta");
159159
console.log(`Beta is enabled: ${isBetaEnabled}`);
160160
```
161161

0 commit comments

Comments
 (0)