Correct more module names that changed.

This commit is contained in:
Jimmy Cuadra 2017-01-02 02:22:33 -08:00
parent 94d1e61e35
commit ba1a73e363

View File

@ -68,8 +68,8 @@ impl Client {
pub fn get_supported_versions(&self)
-> Result<Response<<get_supported_versions::Endpoint as Endpoint>::Response>, Error> {
let response = self.hyper.request(
supported_versions::Endpoint::method().into_hyper(),
self.homeserver_url.join(&supported_versions::Endpoint::request_path(()))?,
get_supported_versions::Endpoint::method().into_hyper(),
self.homeserver_url.join(&get_supported_versions::Endpoint::request_path(()))?,
).send()?;
Ok(response.try_into()?)