1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00

modify typo

This commit is contained in:
chouti 2011-03-19 15:53:23 +08:00 committed by Erik Michaels-Ober
parent 05d7797d00
commit aef69e491e

View file

@ -36,7 +36,7 @@ module OmniAuth
def callback_phase
params = { :api_key => api_key, :method => 'yupoo.auth.getToken', :frob => request.params['frob'], :format => 'json', :nojsoncallback => '1' }
params[:api_sig] = flickr_sign(params)
params[:api_sig] = yupoo_sign(params)
response = RestClient.get('http://www.yupoo.com/api/rest/', { :params => params })
auth = MultiJson.decode(response.to_s)