(w http.ResponseWriter, items ...map[string]any)
| 49 | } |
| 50 | |
| 51 | func writeTenants(w http.ResponseWriter, items ...map[string]any) { |
| 52 | w.Header().Set("Content-Type", "application/json") |
| 53 | _ = json.NewEncoder(w).Encode(map[string]any{"items": items}) |
| 54 | } |
| 55 | |
| 56 | func writeSession(w http.ResponseWriter, token, apiURL string) { |
| 57 | w.Header().Set("Content-Type", "application/json") |
no test coverage detected