lib/graphql-docs/client.rb in graphql-docs-0.5.3 vs lib/graphql-docs/client.rb in graphql-docs-0.6.0

- old
+ new

@@ -18,10 +18,11 @@ end @access_token = options[:access_token] @url = options[:url] - @faraday = Faraday.new(url: @url) + @headers = options[:headers] + @faraday = Faraday.new(url: @url, headers: @headers) if @login && @password @faraday.basic_auth(@login, @password) elsif @access_token @faraday.authorization('token', @access_token)