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

Adding a log statement to zombiefriends

parent d9bb850b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -30,6 +30,7 @@ def warzombie ...@@ -30,6 +30,7 @@ def warzombie
backer_email = "#{backer['username']}@#{backer['username']}.joindiaspora.com" backer_email = "#{backer['username']}@#{backer['username']}.joindiaspora.com"
rel_hash = relationship_flow(backer_email) rel_hash = relationship_flow(backer_email)
logger.info "Zombefriending #{backer['given_name']} #{backer['family_name']}" logger.info "Zombefriending #{backer['given_name']} #{backer['family_name']}"
logger.info "Calling send_friend_request with #{rel_hash[:friend]} and #{current_user.groups.first}"
current_user.send_friend_request_to(rel_hash[:friend], current_user.groups.first) current_user.send_friend_request_to(rel_hash[:friend], current_user.groups.first)
end 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