Skip to content

Commit

Permalink
fix oauth middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
igrigorik committed Jun 3, 2011
1 parent ba1c1a3 commit c7848ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/em-http/middleware/oauth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def initialize(opts = {})

def request(client, head, body)
@consumer.sign!(client, @access_token)
head.merge!(client.options[:head])
head.merge!(client.req.headers)

[head,body]
end
Expand Down

0 comments on commit c7848ff

Please sign in to comment.