mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
(bug) return auth provider mappings from the API
This commit is contained in:
parent
8471311b7b
commit
056a982d68
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user