Skip to content
Extraits de code Groupes Projets
Valider d9bb850b rédigé par Raphael's avatar Raphael
Parcourir les fichiers

pass group not id into send_friend_request

parent 17be0277
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -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
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter