1
0
Fork 0
mirror of https://github.com/SinTan1729/chhoto-url synced 2025-02-05 13:52:33 -06:00

chg: Small cosmetic change

This commit is contained in:
Sayantan Santra 2025-01-06 11:40:20 +05:30
parent 1d9a8c202d
commit cba667ded8
Signed by: SinTan1729
GPG key ID: 0538DD402EA50898

View file

@ -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,