Skip to content

Commit

Permalink
Fixes auth issue on Hubspot
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmechlark committed Oct 15, 2020
1 parent 6a70639 commit 876bafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ok_computer/checks/hubspot_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def check
def perform_request
response = Faraday.get(url, request: { timeout: request_timeout }) do |req|
req.headers['Content-Type'] = 'application/json'
req.body = { hapikey: api_key }.to_json
req.params['hapikey'] = api_key
end

[response.status, MultiJson.decode(response.body)]
Expand Down

0 comments on commit 876bafc

Please sign in to comment.