File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -140,17 +140,17 @@ struct DecisionInfo {
140
140
decisionInfo [ Constants . DecisionInfoKeys. variationKey] = variation? . key ?? NSNull ( ) // keep key in the map even with nil value
141
141
decisionInfo [ Constants . DecisionInfoKeys. ruleKey] = ruleKey ?? NSNull ( ) //
142
142
decisionInfo [ Constants . DecisionInfoKeys. reasons] = reasons
143
- }
144
-
145
- decisionInfo [ Constants . DecisionInfoKeys. decisionEventDispatched] = decisionEventDispatched
143
+ decisionInfo [ Constants . DecisionInfoKeys. decisionEventDispatched] = decisionEventDispatched
146
144
147
- if let expId = experiment? . id {
148
- decisionInfo [ Constants . ExperimentDecisionInfoKeys. experimentId] = expId
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
+ }
149
151
}
150
152
151
- if let varId = variation? . id {
152
- decisionInfo [ Constants . ExperimentDecisionInfoKeys. variationId] = varId
153
- }
153
+
154
154
return decisionInfo
155
155
}
156
156
You can’t perform that action at this time.
0 commit comments