refactor: simplify schema names and remove provider id columns
This commit is contained in:
@@ -34,7 +34,6 @@ def internal_list_systems(
|
||||
"id": i.id,
|
||||
"system_key": i.system_key,
|
||||
"name": i.name,
|
||||
"provider_client_id": i.provider_client_id,
|
||||
"status": i.status,
|
||||
}
|
||||
for i in items
|
||||
@@ -72,7 +71,6 @@ def internal_list_roles(
|
||||
system_key=system_map[i.system_id].system_key,
|
||||
system_name=system_map[i.system_id].name,
|
||||
name=i.name,
|
||||
provider_role_name=i.provider_role_name,
|
||||
description=i.description,
|
||||
status=i.status,
|
||||
)
|
||||
@@ -96,8 +94,7 @@ def internal_list_companies(
|
||||
{
|
||||
"id": i.id,
|
||||
"company_key": i.company_key,
|
||||
"display_name": i.display_name,
|
||||
"legal_name": i.legal_name,
|
||||
"name": i.name,
|
||||
"status": i.status,
|
||||
}
|
||||
for i in items
|
||||
@@ -131,7 +128,7 @@ def internal_list_sites(
|
||||
"id": i.id,
|
||||
"site_key": i.site_key,
|
||||
"company_key": mapping[i.company_id].company_key,
|
||||
"company_display_name": mapping[i.company_id].display_name,
|
||||
"company_display_name": mapping[i.company_id].name,
|
||||
"display_name": i.display_name,
|
||||
"domain": i.domain,
|
||||
"status": i.status,
|
||||
|
||||
Reference in New Issue
Block a user