diff --git a/actix/src/utils.rs b/actix/src/utils.rs index ab5ef9f..c548907 100644 --- a/actix/src/utils.rs +++ b/actix/src/utils.rs @@ -62,7 +62,12 @@ pub fn is_api_ok(http: HttpRequest) -> Response { } else { // If the API key isn't set, but an API Key header is provided if auth::api_header(&http).is_some() { - Response {success: false, error: true, reason: "An API key was provided, but the 'api_key' environment variable is not configured in the Chhoto URL instance".to_string(), pass: false} + Response { + success: false, + error: true, + reason: "An API key was provided, but the 'api_key' environment variable is not configured in the Chhoto URL instance".to_string(), + pass: false + } } else { Response { success: false,