Fix for 'Local variable hides method'
This commit is contained in:
parent
aa2ea3f300
commit
bdd752f07b
1 changed files with 2 additions and 2 deletions
|
|
@ -104,8 +104,8 @@ class Person
|
||||||
|
|
||||||
return nil unless public_key_entry
|
return nil unless public_key_entry
|
||||||
|
|
||||||
public_key = public_key_entry.first.href
|
pubkey = public_key_entry.first.href
|
||||||
new_person.exported_key = Base64.decode64 public_key
|
new_person.exported_key = Base64.decode64 pubkey
|
||||||
|
|
||||||
guid = profile.links.select{|x| x.rel == 'http://joindiaspora.com/guid'}.first.href
|
guid = profile.links.select{|x| x.rel == 'http://joindiaspora.com/guid'}.first.href
|
||||||
new_person.id = guid
|
new_person.id = guid
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue