diff --git a/src/file_hosting/s3_host.rs b/src/file_hosting/s3_host.rs index 59e01e47..fd073721 100644 --- a/src/file_hosting/s3_host.rs +++ b/src/file_hosting/s3_host.rs @@ -60,7 +60,7 @@ impl FileHost for S3Host { .header(reqwest::header::CONTENT_TYPE, "application/json") .header( reqwest::header::AUTHORIZATION, - &self.bucket.credentials.secret_key.unwrap_or_else(""), + &self.bucket.credentials.secret_key.unwrap_or("".to_string()), ) .body( serde_json::json!({