Add lints
This commit is contained in:
parent
70ec88b824
commit
ec9845577a
5 changed files with 38 additions and 4 deletions
|
|
@ -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,
|
||||
}))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue