lib/honeybadger/util/http.rb in honeybadger-2.0.0.beta.11 vs lib/honeybadger/util/http.rb in honeybadger-2.0.0.beta.12
- old
+ new
@@ -40,10 +40,10 @@
end
def http_headers(headers = nil)
{}.tap do |hash|
hash.merge!(HEADERS)
- hash.merge!({'X-API-Key' => config[:api_key]})
+ hash.merge!({'X-API-Key' => config[:api_key].to_s})
hash.merge!(headers) if headers
end
end
def setup_http_connection