bugfixes, better handling of server url changes
This commit is contained in:
@@ -346,7 +346,8 @@ impl<K: AuthenticationStore + Send + Sync> APIInterface for HTTPAPIClient<K> {
|
||||
.await
|
||||
.map_err(|e| Error::ClientError(e.to_string()))?;
|
||||
|
||||
let endpoint = format!("uploadAttachment?filename={}", filename);
|
||||
let encoded_filename = urlencoding::encode(filename);
|
||||
let endpoint = format!("uploadAttachment?filename={}", encoded_filename);
|
||||
let mut bytes_opt = Some(bytes);
|
||||
|
||||
let response: UploadAttachmentResponse = self
|
||||
|
||||
Reference in New Issue
Block a user