proxy-reworked
This commit is contained in:
@@ -42,11 +42,11 @@ pub async fn check_file_exists(
|
||||
|
||||
/// Загружает файл из S3.
|
||||
pub async fn load_file_from_s3(
|
||||
storj_client: &S3Client,
|
||||
s3_client: &S3Client,
|
||||
bucket: &str,
|
||||
key: &str,
|
||||
) -> Result<Vec<u8>, actix_web::Error> {
|
||||
let get_object_output = storj_client
|
||||
let get_object_output = s3_client
|
||||
.get_object()
|
||||
.bucket(bucket)
|
||||
.key(key)
|
||||
|
||||
Reference in New Issue
Block a user