1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-10 21:24:20 +01:00
fab-manager/app/views/api/members/mapping.json.jbuilder
Sylvain fdc2f60ff5 [bug] when a new account is created through the sign-up modal, the role is not reported in the StatisticProfile (#196)
Also: if a member was deleted the /api/members/mapping will raise an error
2020-05-18 16:23:53 +02:00

5 lines
110 B
Ruby

# frozen_string_literal: true
@members.each do |member|
json.set! member.id, member&.profile&.full_name
end