Skip to content

Commit 4c88648

Browse files
[FSSDK-11528] feature toggle readibility improvement
1 parent b8eac89 commit 4c88648

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/core/decision_service/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ import { OptimizelyError } from '../../error/optimizly_error';
7878
import { CmabService } from './cmab/cmab_service';
7979
import { Maybe, OpType, OpValue } from '../../utils/type';
8080
import { Value } from '../../utils/promise/operation_value';
81-
import { holdout } from '../../feature_toggle';
81+
import * as featureToggle from '../../feature_toggle';
8282

8383
export const EXPERIMENT_NOT_RUNNING = 'Experiment %s is not running.';
8484
export const RETURNING_STORED_VARIATION =
@@ -941,7 +941,7 @@ export class DecisionService {
941941
reasons: decideReasons,
942942
});
943943
}
944-
if (holdout()) {
944+
if (featureToggle.holdout()) {
945945
const holdouts = getHoldoutsForFlag(configObj, feature.key);
946946

947947
for (const holdout of holdouts) {

0 commit comments

Comments
 (0)