8000 [FSSDK-10847] chore: preparing for release 5.1.0 by FarhanAnjum-opti · Pull Request #360 · optimizely/ruby-sdk · GitHub
[go: up one dir, main page]

Skip to content

[FSSDK-10847] chore: preparing for release 5.1.0 #360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 13, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
rubocop autocorrectable linting errors corrected
  • Loading branch information
FarhanAnjum-opti committed Jan 13, 2025
commit 5c4d1a44317b7a4f80e963b1ac75ee4f73588b7e
2 changes: 1 addition & 1 deletion lib/optimizely/event_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def get_common_params(project_config, user_id, attributes)
)
end
# Append Bot Filtering Attribute
if project_config.bot_filtering == true || project_config.bot_filtering == false
if [true, false].include?(project_config.bot_filtering)
visitor_attributes.push(
entity_id: Optimizely::Helpers::Constants::CONTROL_ATTRIBUTES['BOT_FILTERING'],
key: Optimizely::Helpers::Constants::CONTROL_ATTRIBUTES['BOT_FILTERING'],
Expand Down
Loading
0