diff --git a/backend/internal/handler/dev_handler_isolation_test.go b/backend/internal/handler/dev_handler_isolation_test.go index ff334f46..0364f1e2 100644 --- a/backend/internal/handler/dev_handler_isolation_test.go +++ b/backend/internal/handler/dev_handler_isolation_test.go @@ -26,16 +26,16 @@ func TestDevHandler_Isolation(t *testing.T) { if r.Method == http.MethodGet && r.URL.Path == "/clients" { return httpJSONAny(r, http.StatusOK, []map[string]interface{}{ { - "client_id": "client-tenant-a", - "client_name": "App Tenant A", + "client_id": "client-tenant-a", + "client_name": "App Tenant A", "token_endpoint_auth_method": "none", // PKCE - "metadata": map[string]interface{}{"tenant_id": "tenant-a"}, + "metadata": map[string]interface{}{"tenant_id": "tenant-a"}, }, { - "client_id": "client-tenant-b", - "client_name": "App Tenant B", + "client_id": "client-tenant-b", + "client_name": "App Tenant B", "token_endpoint_auth_method": "none", // PKCE - "metadata": map[string]interface{}{"tenant_id": "tenant-b"}, + "metadata": map[string]interface{}{"tenant_id": "tenant-b"}, }, }), nil } @@ -46,10 +46,10 @@ func TestDevHandler_Isolation(t *testing.T) { tenantID = "tenant-b" } return httpJSONAny(r, http.StatusOK, map[string]interface{}{ - "client_id": id, - "client_name": "App " + id, + "client_id": id, + "client_name": "App " + id, "token_endpoint_auth_method": "none", - "metadata": map[string]interface{}{"tenant_id": tenantID}, + "metadata": map[string]interface{}{"tenant_id": tenantID}, }), nil } if r.Method == http.MethodPost && r.URL.Path == "/clients" { diff --git a/devfront/src/features/audit/AuditLogsPage.tsx b/devfront/src/features/audit/AuditLogsPage.tsx index 5e0b64e7..d4dcc6e1 100644 --- a/devfront/src/features/audit/AuditLogsPage.tsx +++ b/devfront/src/features/audit/AuditLogsPage.tsx @@ -180,7 +180,8 @@ function AuditLogsPage() { ); } - const errMsg = axiosError.response?.data?.error ?? (query.error as Error).message; + const errMsg = + axiosError.response?.data?.error ?? (query.error as Error).message; return (
{t("msg.dev.audit.load_error", "Error loading logs: {{error}}", { diff --git a/devfront/src/features/clients/ClientsPage.tsx b/devfront/src/features/clients/ClientsPage.tsx index bdc9b784..eec97540 100644 --- a/devfront/src/features/clients/ClientsPage.tsx +++ b/devfront/src/features/clients/ClientsPage.tsx @@ -113,7 +113,10 @@ function ClientsPage() { labelKey: "ui.dev.clients.stats.auth_failures", labelFallback: "Auth Failures (24h)", value: authFailures.toString(), - deltaKey: authFailures > 0 ? "ui.dev.clients.stats.alert" : "ui.dev.clients.stats.stable", + deltaKey: + authFailures > 0 + ? "ui.dev.clients.stats.alert" + : "ui.dev.clients.stats.stable", deltaFallback: authFailures > 0 ? "Check Logs" : "Stable", tone: authFailures > 0 ? ("down" as const) : ("stable" as const), }, @@ -285,11 +288,11 @@ function ClientsPage() { {item.value}