pass group not id into send_friend_request
This commit is contained in:
parent
17be027738
commit
d9bb850b5b
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ def warzombie
|
|||
backer_email = "#{backer['username']}@#{backer['username']}.joindiaspora.com"
|
||||
rel_hash = relationship_flow(backer_email)
|
||||
logger.info "Zombefriending #{backer['given_name']} #{backer['family_name']}"
|
||||
current_user.send_friend_request_to(rel_hash[:friend], current_user.groups.first.id)
|
||||
current_user.send_friend_request_to(rel_hash[:friend], current_user.groups.first)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue