mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
refactor: Fix errors in api/client/thirdparty.rs
This commit is contained in:
@@ -11,8 +11,8 @@ use crate::{Ruma, RumaResponse};
|
|||||||
pub(crate) async fn get_protocols_route(
|
pub(crate) async fn get_protocols_route(
|
||||||
_body: Ruma<get_protocols::v3::Request>,
|
_body: Ruma<get_protocols::v3::Request>,
|
||||||
) -> Result<get_protocols::v3::Response> {
|
) -> Result<get_protocols::v3::Response> {
|
||||||
// TODO
|
// We don't support this at all
|
||||||
Ok(get_protocols::v3::Response { protocols: BTreeMap::new() })
|
Ok(get_protocols::v3::Response::new(BTreeMap::new()))
|
||||||
}
|
}
|
||||||
|
|
||||||
/// # `GET /_matrix/client/unstable/thirdparty/protocols`
|
/// # `GET /_matrix/client/unstable/thirdparty/protocols`
|
||||||
|
|||||||
Reference in New Issue
Block a user