lib/hu/collab.rb in hu-2.0.21 vs lib/hu/collab.rb in hu-2.0.22
- old
+ new
@@ -231,10 +231,10 @@
d = data['apps'][app_name] = { 'collaborators' => [] }
h.collaborator.list(app_name).map do |e|
case e['role']
when 'owner'
d['owner'] = e['user']['email']
- when nil
+ when nil, 'member'
d['collaborators'] << e['user']['email']
else
raise "Unknown collaborator role: #{e['role']}"
end
all_collaborators << e['user']['email']