Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
iandonovan committed Dec 17, 2024
1 parent 891a975 commit 9414188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/saved_claim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def validate_form_with_json_schema(schema, clear_cache)
# to be formatted like json_schema errors, which keeps
# the error logging smooth and identical for both options.
def reformatted_schemer_errors(errors)
errors.map! { |h| h.symbolize_keys }
errors.map!(&:symbolize_keys)
errors.each do |error|
error[:fragment] = error[:data_pointer]
error[:message] = error[:error]
Expand Down

0 comments on commit 9414188

Please sign in to comment.