forked from baron/baron-sso
worksmobile 관리화면 보완.
This commit is contained in:
@@ -33,6 +33,7 @@ type WorksmobileConfigSummary struct {
|
||||
Enabled bool `json:"enabled"`
|
||||
DomainMappings map[string]int64 `json:"domainMappings"`
|
||||
TokenConfigured bool `json:"tokenConfigured"`
|
||||
AdminTenantID string `json:"adminTenantId,omitempty"`
|
||||
}
|
||||
|
||||
type WorksmobileTenantOverview struct {
|
||||
@@ -115,6 +116,7 @@ func (s *worksmobileSyncService) GetTenantOverview(ctx context.Context, tenantID
|
||||
Enabled: WorksmobileEnabled(tenant.Config),
|
||||
DomainMappings: WorksmobileDomainMappings(tenant.Config),
|
||||
TokenConfigured: worksmobileDirectoryAuthConfigured(),
|
||||
AdminTenantID: strings.TrimSpace(os.Getenv("WORKS_ADMIN_TENANT_ID")),
|
||||
},
|
||||
RecentJobs: jobs,
|
||||
}, nil
|
||||
|
||||
Reference in New Issue
Block a user