mirror of
https://github.com/GothenburgBitFactory/taskchampion-sync-server.git
synced 2026-04-05 17:20:35 +00:00
Fix new clippy lints
This commit is contained in:
@ -23,7 +23,7 @@ pub(crate) async fn service(
|
||||
let parent_version_id = path.into_inner();
|
||||
let client_id = server_state.client_id_header(&req)?;
|
||||
|
||||
return match server_state
|
||||
match server_state
|
||||
.server
|
||||
.get_child_version(client_id, parent_version_id)
|
||||
{
|
||||
@ -43,7 +43,7 @@ pub(crate) async fn service(
|
||||
// to add a new version, which may create the new client at the same time.
|
||||
Err(ServerError::NoSuchClient) => Err(error::ErrorNotFound("no such client")),
|
||||
Err(e) => Err(server_error_to_actix(e)),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in New Issue
Block a user