Add missing request body to create_media_conent

This commit is contained in:
Jonas Platte 2019-04-22 22:11:18 +02:00
parent d5b6e7e322
commit 7493353c5a

View File

@ -17,6 +17,9 @@ ruma_api! {
/// The content type of the file being uploaded.
#[ruma_api(header = "CONTENT_TYPE")]
pub content_type: String,
/// The file contents to upload.
#[ruma_api(body)]
pub file: Vec<u8>,
}
response {