Fix again

This commit is contained in:
Geometrically
2020-12-29 22:25:52 -07:00
parent 4350c9a72b
commit 6440220640

View File

@@ -60,7 +60,7 @@ impl FileHost for S3Host {
.header(reqwest::header::CONTENT_TYPE, "application/json") .header(reqwest::header::CONTENT_TYPE, "application/json")
.header( .header(
reqwest::header::AUTHORIZATION, reqwest::header::AUTHORIZATION,
&self.bucket.credentials.secret_key.unwrap_or("".to_string()), self.bucket.credentials.secret_key.clone().unwrap_or("".to_string()),
) )
.body( .body(
serde_json::json!({ serde_json::json!({