Skip to content

Commit 8e33597

Browse files
Revert "[FSSDK-11529] condition adjustment"
This reverts commit de3baaa.
1 parent de3baaa commit 8e33597

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/optimizely/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ export default class Optimizely extends BaseService implements Client {
652652

653653
let featureEnabled = decision.getFeatureEnabledFromVariation(decisionObj);
654654

655-
if (decisionSource === DECISION_SOURCES.FEATURE_TEST || decisionSource === DECISION_SOURCES.HOLDOUT) {
655+
if (decisionSource === DECISION_SOURCES.FEATURE_TEST) {
656656
sourceInfo = {
657657
experimentKey: experimentKey,
658658
variationKey: variationKey,
@@ -661,7 +661,6 @@ export default class Optimizely extends BaseService implements Client {
661661

662662
if (
663663
decisionSource === DECISION_SOURCES.FEATURE_TEST ||
664-
decisionSource === DECISION_SOURCES.HOLDOUT ||
665664
(decisionSource === DECISION_SOURCES.ROLLOUT && projectConfig.getSendFlagDecisionsValue(configObj))
666665
) {
667666
this.sendImpressionEvent(decisionObj, feature.key, userId, featureEnabled, attributes);
@@ -1504,7 +1503,6 @@ export default class Optimizely extends BaseService implements Client {
15041503
if (
15051504
!options[OptimizelyDecideOption.DISABLE_DECISION_EVENT] &&
15061505
(decisionSource === DECISION_SOURCES.FEATURE_TEST ||
1507-
decisionSource === DECISION_SOURCES.HOLDOUT ||
15081506
(decisionSource === DECISION_SOURCES.ROLLOUT && projectConfig.getSendFlagDecisionsValue(configObj)))
15091507
) {
15101508
this.sendImpressionEvent(decisionObj, key, userId, flagEnabled, attributes);

0 commit comments

Comments
 (0)