Skip to content

Commit

Permalink
fix(ruby): formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Fluf22 committed Sep 6, 2024
1 parent 76b9b76 commit 763b978
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def deserialize(body, return_type)
return body.to_s if return_type == "String"

begin
data = JSON.parse("[#{body}]", symbolize_names: true)[0]
data = JSON.parse("[#{body}]", :symbolize_names => true)[0]
rescue JSON::ParserError => e
raise e unless %w[String Date Time].include?(return_type)

Expand Down

0 comments on commit 763b978

Please sign in to comment.