Compare commits

..
Author SHA1 Message Date
phoenix 37d08d54fa Adding endpoint url
labyrinth release Tagging / release (pull_request) Successful in 46s
2026-08-06 13:04:20 -04:00
phoenix 08e50b132f Adding Debug trait to Error
labyrinth release Tagging / release (pull_request) Successful in 4m43s
2026-08-06 12:50:19 -04:00
+2
View File
@@ -16,6 +16,7 @@ pub async fn load_data(filepath: &str) -> Result<Vec<u8>, std::io::Error> {
tokio::fs::read(filepath).await
}
#[derive(Debug)]
pub enum Error {
Info(String),
SError(aws_sdk_s3::operation::put_object::PutObjectError),
@@ -41,6 +42,7 @@ impl Labyrinth {
let config = aws_config::from_env()
.region(region)
.credentials_provider(credentials)
.endpoint_url(self.config.url.clone())
.load()
.await;