Skip to content

Commit 763b978

Browse files
committed
fix(ruby): formatting
1 parent 76b9b76 commit 763b978

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clients/algoliasearch-client-ruby/lib/algolia/api_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def deserialize(body, return_type)
5151
return body.to_s if return_type == "String"
5252

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

0 commit comments

Comments
 (0)