Skip to content

Commit

Permalink
Merge pull request #334 from soh335/fix/basic_auth
Browse files Browse the repository at this point in the history
Fix not need character is append in Basic Auth Header
  • Loading branch information
piotrmurach committed Nov 17, 2017
2 parents c45b748 + 0a26a4a commit c7fec0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/github_api/request/basic_auth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def initialize(app, *args)
# @api private
def call(env)
if @auth
env[:request_headers].merge!('Authorization' => "Basic #{@auth}\"")
env[:request_headers].merge!('Authorization' => "Basic #{@auth}")
end

@app.call(env)
Expand Down

0 comments on commit c7fec0f

Please sign in to comment.