Browse Source

correct path on federated media endpoint doc comment

merge-requests/762/head
Matthias Ahouansou 1 year ago
parent
commit
7b9ba62b67
No known key found for this signature in database
  1. 4
      src/api/server_server.rs

4
src/api/server_server.rs

@ -2215,7 +2215,7 @@ pub async fn create_invite_route(
}) })
} }
/// # `GET /_matrix/federation/v1/media/download/{serverName}/{mediaId}` /// # `GET /_matrix/federation/v1/media/download/{mediaId}`
/// ///
/// Load media from our server. /// Load media from our server.
pub async fn get_content_route( pub async fn get_content_route(
@ -2246,7 +2246,7 @@ pub async fn get_content_route(
} }
} }
/// # `GET /_matrix/federation/v1/media/thumbnail/{serverName}/{mediaId}` /// # `GET /_matrix/federation/v1/media/thumbnail/{mediaId}`
/// ///
/// Load media thumbnail from our server or over federation. /// Load media thumbnail from our server or over federation.
pub async fn get_content_thumbnail_route( pub async fn get_content_thumbnail_route(

Loading…
Cancel
Save