Correct more module names that changed.
This commit is contained in:
parent
94d1e61e35
commit
ba1a73e363
@ -68,8 +68,8 @@ impl Client {
|
|||||||
pub fn get_supported_versions(&self)
|
pub fn get_supported_versions(&self)
|
||||||
-> Result<Response<<get_supported_versions::Endpoint as Endpoint>::Response>, Error> {
|
-> Result<Response<<get_supported_versions::Endpoint as Endpoint>::Response>, Error> {
|
||||||
let response = self.hyper.request(
|
let response = self.hyper.request(
|
||||||
supported_versions::Endpoint::method().into_hyper(),
|
get_supported_versions::Endpoint::method().into_hyper(),
|
||||||
self.homeserver_url.join(&supported_versions::Endpoint::request_path(()))?,
|
self.homeserver_url.join(&get_supported_versions::Endpoint::request_path(()))?,
|
||||||
).send()?;
|
).send()?;
|
||||||
|
|
||||||
Ok(response.try_into()?)
|
Ok(response.try_into()?)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user