Skip to content

Commit

Permalink
Look up profile by href, not by provider
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronpk committed Jun 28, 2012
1 parent 253bbb8 commit ef18255
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controller.rb
Expand Up @@ -90,10 +90,10 @@ class Controller < Sinatra::Base
if provider
profile = Profile.first_or_create({
:user => user,
:provider => provider
:href => link[:link]
},
{
:href => link[:link],
:provider => provider,
:verified => verified
})

Expand Down

0 comments on commit ef18255

Please sign in to comment.