federation-api: Fix request query deserialization for get_remote_server_keys_batch
This commit is contained in:
parent
a03955a778
commit
1d6b84d522
@ -3,6 +3,7 @@
|
|||||||
Improvements:
|
Improvements:
|
||||||
|
|
||||||
* Fix JSON body (de)serialization of `discovery::get_remote_server_keys::batch::v2::Request`
|
* Fix JSON body (de)serialization of `discovery::get_remote_server_keys::batch::v2::Request`
|
||||||
|
* Fix query parameter deserialization of `discovery::get_remote_server_keys::batch::v2::Request`
|
||||||
|
|
||||||
# 0.3.0
|
# 0.3.0
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ ruma_api! {
|
|||||||
///
|
///
|
||||||
/// If not supplied, the current time as determined by the notary server is used.
|
/// If not supplied, the current time as determined by the notary server is used.
|
||||||
#[ruma_api(query)]
|
#[ruma_api(query)]
|
||||||
|
#[serde(default = "MilliSecondsSinceUnixEpoch::now")]
|
||||||
pub minimum_valid_until_ts: MilliSecondsSinceUnixEpoch,
|
pub minimum_valid_until_ts: MilliSecondsSinceUnixEpoch,
|
||||||
|
|
||||||
/// The query criteria.
|
/// The query criteria.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user