(id, tenantStatus, team string)
| 45 | } |
| 46 | |
| 47 | func tenantItem(id, tenantStatus, team string) map[string]any { |
| 48 | return map[string]any{"tenant_id": id, "status": tenantStatus, "team_name": team} |
| 49 | } |
| 50 | |
| 51 | func writeTenants(w http.ResponseWriter, items ...map[string]any) { |
| 52 | w.Header().Set("Content-Type", "application/json") |
no outgoing calls
no test coverage detected