1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00

(bug) return auth provider mappings from the API

This commit is contained in:
Sylvain 2022-03-29 13:25:50 +02:00
parent 8471311b7b
commit 056a982d68

View File

@ -1,6 +1,6 @@
# frozen_string_literal: true
json.extract! auth_provider, :id, :name, :status, :providable_type, :strategy_name
json.auth_provider_mappings_attributes @provider.auth_provider_mappings do |m|
json.auth_provider_mappings_attributes auth_provider.auth_provider_mappings do |m|
json.extract! m, :id, :local_model, :local_field, :api_field, :api_endpoint, :api_data_type, :transformation
end