fix: remove unused watch_event_query binding, prefix dead field for clippy -D warnings

This commit is contained in:
2026-07-10 04:32:54 +02:00
parent 2e32847129
commit 5266646b0b
20 changed files with 79 additions and 69 deletions

View File

@@ -40,9 +40,17 @@ impl IntoResponse for ApiError {
match &self.0 {
DomainError::InfrastructureError(_) => {
tracing::error!("Internal error: {:?}", self.0);
(status, axum::Json(serde_json::json!({"error": "internal server error"}))).into_response()
(
status,
axum::Json(serde_json::json!({"error": "internal server error"})),
)
.into_response()
}
_ => (status, axum::Json(serde_json::json!({"error": self.0.to_string()}))).into_response(),
_ => (
status,
axum::Json(serde_json::json!({"error": self.0.to_string()})),
)
.into_response(),
}
}
}