diff --git a/ruma-client-api/src/r0/keys/upload_signatures.rs b/ruma-client-api/src/r0/keys/upload_signatures.rs index 5620ac78..be2e73fe 100644 --- a/ruma-client-api/src/r0/keys/upload_signatures.rs +++ b/ruma-client-api/src/r0/keys/upload_signatures.rs @@ -6,6 +6,7 @@ use std::collections::BTreeMap; use ruma_api::ruma_api; use ruma_identifiers::UserId; +use serde_json::Value as JsonValue; ruma_api! { metadata: { @@ -20,7 +21,7 @@ ruma_api! { request: { /// Signed keys. #[ruma_api(body)] - pub signed_keys: BTreeMap>, + pub signed_keys: BTreeMap>, } #[derive(Default)] @@ -31,7 +32,7 @@ ruma_api! { impl Request { /// Creates a new `Request` with the given signed keys. - pub fn new(signed_keys: BTreeMap>) -> Self { + pub fn new(signed_keys: BTreeMap>) -> Self { Self { signed_keys } } }