From 632e50109c3e815a54db3a8d986c638e1e796a7a Mon Sep 17 00:00:00 2001 From: Caio <117518+caiosba@users.noreply.github.com> Date: Wed, 6 Sep 2023 17:51:58 -0300 Subject: [PATCH] Fixing Sentry error 4459387871 --- lib/check_search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/check_search.rb b/lib/check_search.rb index 5d2fb15f0a..a2d77c1c35 100644 --- a/lib/check_search.rb +++ b/lib/check_search.rb @@ -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