Skip to content

Commit

Permalink
Attempt at bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahzs committed Jan 17, 2018
1 parent 6dcf408 commit 5e855ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/se/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def json(uri, **params)
@logger_json.info "https://api.stackexchange.com/#{API_VERSION}/#{uri}?#{params} => #{resp}"
@quota = resp["quota_remaining"]
@quota_used += 1
resp["items"]
Array(resp["items"])
end
end
end
Expand Down

0 comments on commit 5e855ab

Please sign in to comment.