Unverified Commit 70167722 authored by Vasili Novikov's avatar Vasili Novikov
Browse files

Fix clippy warning

parent bf0dbbf4
Showing with 1 addition and 1 deletion
+1 -1
......@@ -226,7 +226,7 @@ pub async fn run_server(cli_options: &CLIOptions) {
.and(warp::body::json())
.map(move |owner: String, body: PayloadWrapper<GetFile>| {
let result = warp_endpoints::get_file(owner, init_db.deref(), body);
respond_with_result(result.map(|result| result))
respond_with_result(result)
});
let insecure_http_headers = Arc::new(cli_options.insecure_http_headers);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment