Add missing request body to create_media_conent
This commit is contained in:
parent
d5b6e7e322
commit
7493353c5a
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user