Use parentheses
This commit is contained in:
parent
4903a6b189
commit
a7019719c2
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ module ApiGeo
|
|||
private
|
||||
|
||||
def self.call(api_url)
|
||||
RestClient.get api_url, params: { fields: :nom }
|
||||
RestClient.get(api_url, params: { fields: :nom })
|
||||
rescue RestClient::ServiceUnavailable
|
||||
nil
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue