Skip to content

Commit

Permalink
Merge pull request #10 from blueshift-labs/typo-fix
Browse files Browse the repository at this point in the history
Fixed a typo
  • Loading branch information
vishwajitparasar-bsft authored Dec 9, 2023
2 parents 08cf63a + e8da45f commit 1fc5ffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/apollo/clients/base_client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def handle_request_with_headers(url, http_verb, params: nil, body: nil)
[body, result.headers]
end

def handle_results(result)
def handle_result(result)
if result.status >= 200 && result.status < 300 || result.status == 404
JSON.load(result.body)
else
Expand Down

0 comments on commit 1fc5ffd

Please sign in to comment.