Skip to content

Commit c7fec0f

Browse files
authored
Merge pull request piotrmurach#334 from soh335/fix/basic_auth
Fix not need character is append in Basic Auth Header
2 parents c45b748 + 0a26a4a commit c7fec0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/github_api/request/basic_auth.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def initialize(app, *args)
2626
# @api private
2727
def call(env)
2828
if @auth
29-
env[:request_headers].merge!('Authorization' => "Basic #{@auth}\"")
29+
env[:request_headers].merge!('Authorization' => "Basic #{@auth}")
3030
end
3131

3232
@app.call(env)

0 commit comments

Comments
 (0)