diff --git a/src/error.rs b/src/error.rs index 56c0ef6..3491c5f 100644 --- a/src/error.rs +++ b/src/error.rs @@ -47,7 +47,7 @@ impl IntoResponse for ApiError { ), Self::PreconditionRequired(msg) => (StatusCode::PRECONDITION_REQUIRED, msg), Self::NotFound(msg) => (StatusCode::NOT_FOUND, msg), - Self::PostureRejected(reasons) => (StatusCode::FORBIDDEN, reasons.join(" ,")), + Self::PostureRejected(reasons) => (StatusCode::FORBIDDEN, reasons.join(", ")), _ => ( StatusCode::INTERNAL_SERVER_ERROR, "Internal server error".to_string(),