Fix again

This commit is contained in:
Geometrically
2020-12-29 22:19:03 -07:00
parent 77feae0ab9
commit 4350c9a72b

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_else(""), &self.bucket.credentials.secret_key.unwrap_or("".to_string()),
) )
.body( .body(
serde_json::json!({ serde_json::json!({