Add lints

This commit is contained in:
Andras Schmelczer 2024-12-20 11:08:14 +00:00
parent 70ec88b824
commit ec9845577a
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
5 changed files with 38 additions and 4 deletions

View file

@ -16,7 +16,7 @@ pub async fn ping(
maybe_auth_header.is_some_and(|auth_header| auth(&state, auth_header.token()).is_ok());
Ok(Json(PingResponse {
server_version: env!("CARGO_PKG_VERSION").to_string(),
server_version: env!("CARGO_PKG_VERSION").to_owned(),
is_authenticated,
}))
}