Skip to content

Commit 342e8ca

Browse files
committed
insert errors for testing
1 parent 819b7db commit 342e8ca

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

core-api/src/main/java/com/optimizely/ab/Optimizely.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1228,26 +1228,26 @@ OptimizelyDecision decide(@Nonnull OptimizelyUserContext user,
12281228
flagDecision.variation,
12291229
key,
12301230
decisionSource.toString(),
1231-
flagEnabled);
1231+
false);
12321232
decisionEventDispatched = true;
12331233
}
12341234

12351235
DecisionNotification decisionNotification = DecisionNotification.newFlagDecisionNotificationBuilder()
12361236
.withUserId(userId)
12371237
.withAttributes(copiedAttributes)
12381238
.withFlagKey(key)
1239-
.withEnabled(flagEnabled)
1239+
// .withEnabled(flagEnabled)
12401240
.withVariables(variableMap)
12411241
.withVariationKey(variationKey)
12421242
.withRuleKey(ruleKey)
1243-
.withReasons(reasonsToReport)
1244-
.withDecisionEventDispatched(decisionEventDispatched)
1243+
// .withReasons(reasonsToReport)
1244+
// .withDecisionEventDispatched(decisionEventDispatched)
12451245
.build();
12461246
notificationCenter.send(decisionNotification);
12471247

12481248
return new OptimizelyDecision(
1249-
variationKey,
1250-
flagEnabled,
1249+
null,
1250+
false,
12511251
optimizelyJSON,
12521252
ruleKey,
12531253
key,

0 commit comments

Comments
 (0)