diff --git a/app/serializers/identity_spoke/spoke_member_sync_push_serializer.rb b/app/serializers/identity_spoke/spoke_member_sync_push_serializer.rb index 6241f0d..a192035 100644 --- a/app/serializers/identity_spoke/spoke_member_sync_push_serializer.rb +++ b/app/serializers/identity_spoke/spoke_member_sync_push_serializer.rb @@ -35,6 +35,9 @@ def custom_fields representative_name: area.representative_name } } + @object.member_external_ids.each{ |external_id| + data[external_id.system + "_id"] = external_id.id + } data.to_json end