Download #2

Merged
phoenix merged 5 commits from download into main 2026-08-10 17:41:33 -04:00
Showing only changes of commit 2b6127f6a6 - Show all commits
+2 -3
View File
@@ -37,8 +37,7 @@ pub async fn init_client(config: &config::Config) -> aws_sdk_s3::Client {
.force_path_style(true) .force_path_style(true)
.build(); .build();
let client = aws_sdk_s3::Client::from_conf(s3_config); aws_sdk_s3::Client::from_conf(s3_config)
client
} }
#[derive(Debug)] #[derive(Debug)]
@@ -83,7 +82,7 @@ impl Labyrinth {
match client match client
.get_object() .get_object()
.bucket(&self.config.bucket.clone()) .bucket(self.config.bucket.clone())
.key(file_key) .key(file_key)
.send() .send()
.await .await