Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
Twitter response structure changed .. user_info becomes info
Browse files Browse the repository at this point in the history
  • Loading branch information
rdsoze committed Mar 28, 2012
1 parent fc5cdad commit 5d6c5c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion episode-241/blog/app/models/user.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ def self.create_with_omniauth(auth)
create! do |user| create! do |user|
user.provider = auth["provider"] user.provider = auth["provider"]
user.uid = auth["uid"] user.uid = auth["uid"]
user.name = auth["user_info"]["name"] user.name = auth["info"]["name"]
end end
end end
end end

0 comments on commit 5d6c5c0

Please sign in to comment.