mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-01-16 01:27:31 +01:00
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())
|
||||
}
|
||||
|
||||
/// # `POST /_matrix/media/r0/download/{serverName}/{mediaId}`
|
||||
/// # `GET /_matrix/media/r0/download/{serverName}/{mediaId}`
|
||||
///
|
||||
/// 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.
|
||||
///
|
||||
|
|
Loading…
Reference in a new issue