Skip to content

Commit d073da3

Browse files
committed
Fix lint issue
1 parent 867342b commit d073da3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/optimizely.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1283,7 +1283,7 @@ def send_impression(config, experiment, variation_key, flag_key, rule_key, enabl
12831283
filtered_attributes = attributes
12841284
if rule_type == Optimizely::DecisionService::DECISION_SOURCES['HOLDOUT']
12851285
bot_filtering = attributes&.dig('$opt_bot_filtering')
1286-
filtered_attributes = bot_filtering ? { '$opt_bot_filtering' => bot_filtering } : {}
1286+
filtered_attributes = bot_filtering ? {'$opt_bot_filtering' => bot_filtering} : {}
12871287
end
12881288

12891289
metadata = {

lib/optimizely/event_builder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def get_impression_params(project_config, experiment, variation_id)
181181

182182
{
183183
decisions: [{
184-
campaign_id: campaign_id
184+
campaign_id: campaign_id,
185185
experiment_id: experiment_id,
186186
variation_id: variation_id
187187
}],

0 commit comments

Comments
 (0)