Make serde_json::Value usage consistent

This commit is contained in:
Jonas Platte 2019-08-09 00:36:56 +02:00
parent 6a5af6bf8b
commit 05f181d9f1
2 changed files with 4 additions and 2 deletions

View File

@ -3,6 +3,7 @@
use ruma_api::ruma_api;
use ruma_events::EventType;
use ruma_identifiers::RoomId;
use serde_json::Value;
ruma_api! {
metadata {
@ -26,6 +27,6 @@ ruma_api! {
response {
/// The content of the state event.
#[ruma_api(body)]
pub content: ::serde_json::Value,
pub content: Value,
}
}

View File

@ -3,6 +3,7 @@
use ruma_api::ruma_api;
use ruma_events::EventType;
use ruma_identifiers::RoomId;
use serde_json::Value;
ruma_api! {
metadata {
@ -29,6 +30,6 @@ ruma_api! {
response {
/// The content of the state event.
#[ruma_api(body)]
pub content: ::serde_json::Value,
pub content: Value,
}
}