client-api: Allow empty failures object in response to upload_signatures.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
580eefe1c6
commit
23535bc153
@ -45,7 +45,7 @@ pub mod v3 {
|
||||
#[derive(Default)]
|
||||
pub struct Response {
|
||||
/// Signature processing failures.
|
||||
#[serde(default, skip_serializing_if = "BTreeMap::is_empty")]
|
||||
#[serde(default)]
|
||||
pub failures: BTreeMap<OwnedUserId, BTreeMap<String, Failure>>,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user