style(secrets-mcp): rustfmt web.rs audit mapping
All checks were successful
Secrets MCP — Build & Release / 检查 / 构建 / 发版 (push) Successful in 5m20s
Secrets MCP — Build & Release / 部署 secrets-mcp (push) Successful in 6s

Made-with: Cursor
This commit is contained in:
voson
2026-03-21 12:06:29 +08:00
parent 2edb970cba
commit a42db62702

View File

@@ -410,9 +410,7 @@ async fn audit_page(
let entries = rows
.into_iter()
.map(|row| AuditEntryView {
created_at_iso: row
.created_at
.to_rfc3339_opts(SecondsFormat::Secs, true),
created_at_iso: row.created_at.to_rfc3339_opts(SecondsFormat::Secs, true),
action: row.action,
target: format_audit_target(&row.namespace, &row.kind, &row.name),
detail: serde_json::to_string_pretty(&row.detail).unwrap_or_else(|_| "{}".to_string()),