Make serde_json::Value usage consistent
This commit is contained in:
parent
6a5af6bf8b
commit
05f181d9f1
@ -3,6 +3,7 @@
|
|||||||
use ruma_api::ruma_api;
|
use ruma_api::ruma_api;
|
||||||
use ruma_events::EventType;
|
use ruma_events::EventType;
|
||||||
use ruma_identifiers::RoomId;
|
use ruma_identifiers::RoomId;
|
||||||
|
use serde_json::Value;
|
||||||
|
|
||||||
ruma_api! {
|
ruma_api! {
|
||||||
metadata {
|
metadata {
|
||||||
@ -26,6 +27,6 @@ ruma_api! {
|
|||||||
response {
|
response {
|
||||||
/// The content of the state event.
|
/// The content of the state event.
|
||||||
#[ruma_api(body)]
|
#[ruma_api(body)]
|
||||||
pub content: ::serde_json::Value,
|
pub content: Value,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
use ruma_api::ruma_api;
|
use ruma_api::ruma_api;
|
||||||
use ruma_events::EventType;
|
use ruma_events::EventType;
|
||||||
use ruma_identifiers::RoomId;
|
use ruma_identifiers::RoomId;
|
||||||
|
use serde_json::Value;
|
||||||
|
|
||||||
ruma_api! {
|
ruma_api! {
|
||||||
metadata {
|
metadata {
|
||||||
@ -29,6 +30,6 @@ ruma_api! {
|
|||||||
response {
|
response {
|
||||||
/// The content of the state event.
|
/// The content of the state event.
|
||||||
#[ruma_api(body)]
|
#[ruma_api(body)]
|
||||||
pub content: ::serde_json::Value,
|
pub content: Value,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user