diff --git a/src/infra/tcp_server.rs b/src/infra/tcp_server.rs index d32acc4..64829d2 100644 --- a/src/infra/tcp_server.rs +++ b/src/infra/tcp_server.rs @@ -25,10 +25,10 @@ async fn user_list_handler( where Backend: BackendHandler + 'static, { - let req : ListUsersRequest = info.clone(); + let req: ListUsersRequest = info.clone(); match data.backend_handler.list_users(req).await { Ok(res) => ApiResult::Left(web::Json(res)), - Err(_) => ApiResult::Right(HttpResponse::InternalServerError().finish()) + Err(_) => ApiResult::Right(HttpResponse::InternalServerError().finish()), } }