Fix incorrect HTTP method in doc comments of two media routes
This commit is contained in:
parent
8472eff277
commit
52873c88b7
1 changed files with 2 additions and 2 deletions
|
@ -74,7 +74,7 @@ pub async fn create_content_route(
|
||||||
.into())
|
.into())
|
||||||
}
|
}
|
||||||
|
|
||||||
/// # `POST /_matrix/media/r0/download/{serverName}/{mediaId}`
|
/// # `GET /_matrix/media/r0/download/{serverName}/{mediaId}`
|
||||||
///
|
///
|
||||||
/// Load media from our server or over federation.
|
/// Load media from our server or over federation.
|
||||||
///
|
///
|
||||||
|
@ -191,7 +191,7 @@ pub async fn get_content_as_filename_route(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// # `POST /_matrix/media/r0/thumbnail/{serverName}/{mediaId}`
|
/// # `GET /_matrix/media/r0/thumbnail/{serverName}/{mediaId}`
|
||||||
///
|
///
|
||||||
/// Load media thumbnail from our server or over federation.
|
/// Load media thumbnail from our server or over federation.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue