Skip to content

Commit

Permalink
Make authorized requests with params call oauth2 methods correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Firth-McCoy committed Dec 30, 2011
1 parent 8c5eac5 commit 0b6c39d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/gplus/client.rb
Expand Up @@ -80,7 +80,7 @@ def access_token_refreshed?
private
def get(path, params = {})
if access_token
response = access_token.get("#{self.api_version}/#{path}", params)
response = access_token.get("#{self.api_version}/#{path}", :params => params)
else
response = @oauth_client.request(:get, "#{self.api_version}/#{path}", { :params => params.merge(:key => @api_key) })
end
Expand Down

0 comments on commit 0b6c39d

Please sign in to comment.