Skip to content

Commit

Permalink
Fixing Sentry error 4459387871
Browse files Browse the repository at this point in the history
  • Loading branch information
caiosba committed Sep 6, 2023
1 parent f2e376b commit 632e501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/check_search.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class CheckSearch
def initialize(options, file = nil, team_id = Team.current&.id)
# Options include keywords, projects, tags, status, report status
options = begin JSON.parse(options) rescue {} end
@options = options.clone.with_indifferent_access
@options = options.to_h.clone.with_indifferent_access
@options['input'] = options.clone
@options['team_id'] = team_condition(team_id)
@options['operator'] ||= 'AND' # AND or OR
Expand Down

0 comments on commit 632e501

Please sign in to comment.