Skip to content

Commit

Permalink
fixing profile method
Browse files Browse the repository at this point in the history
  • Loading branch information
chebyte committed Jun 29, 2011
1 parent 0ac756c commit 63d3879
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/youtube_it/request/video_upload.rb
Expand Up @@ -331,7 +331,8 @@ def profile(user_id)

if @access_token.nil?
http_connection do |session|
response = session.get(profile_url)
header.merge!(authorization_headers)
response = session.get(profile_url, authorization_headers)
end
else
header.merge!(authorization_headers_for_oauth)
Expand Down

0 comments on commit 63d3879

Please sign in to comment.