File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -141,13 +141,8 @@ struct DecisionInfo {
141
141
decisionInfo [ Constants . DecisionInfoKeys. ruleKey] = ruleKey ?? NSNull ( ) //
142
142
decisionInfo [ Constants . DecisionInfoKeys. reasons] = reasons
143
143
decisionInfo [ Constants . DecisionInfoKeys. decisionEventDispatched] = decisionEventDispatched
144
-
145
- if let expId = experiment? . id {
146
- decisionInfo [ Constants . ExperimentDecisionInfoKeys. experimentId] = expId
147
- }
148
- if let varId = variation? . id {
149
- decisionInfo [ Constants . ExperimentDecisionInfoKeys. variationId] = varId
150
- }
144
+ decisionInfo [ Constants . ExperimentDecisionInfoKeys. experimentId] = experiment? . id ?? NSNull ( )
145
+ decisionInfo [ Constants . ExperimentDecisionInfoKeys. variationId] = variation? . id ?? NSNull ( )
151
146
}
152
147
153
148
You can’t perform that action at this time.
0 commit comments