mirror of
https://github.com/getnora-io/nora.git
synced 2026-04-12 12:40:31 +00:00
Fix code formatting
This commit is contained in:
@@ -119,12 +119,7 @@ async fn download_file(
|
||||
"application/octet-stream"
|
||||
};
|
||||
|
||||
return (
|
||||
StatusCode::OK,
|
||||
[(header::CONTENT_TYPE, content_type)],
|
||||
data,
|
||||
)
|
||||
.into_response();
|
||||
return (StatusCode::OK, [(header::CONTENT_TYPE, content_type)], data).into_response();
|
||||
}
|
||||
|
||||
// Try proxy if configured
|
||||
@@ -161,11 +156,7 @@ async fn download_file(
|
||||
"application/octet-stream"
|
||||
};
|
||||
|
||||
return (
|
||||
StatusCode::OK,
|
||||
[(header::CONTENT_TYPE, content_type)],
|
||||
data,
|
||||
)
|
||||
return (StatusCode::OK, [(header::CONTENT_TYPE, content_type)], data)
|
||||
.into_response();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user