aboutsummaryrefslogtreecommitdiffstats
path: root/src/xchan.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/xchan.rs')
-rw-r--r--src/xchan.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xchan.rs b/src/xchan.rs
index 9b920d5..5d1c17b 100644
--- a/src/xchan.rs
+++ b/src/xchan.rs
@@ -15,7 +15,7 @@
// along with this program. If not, see <https://www.gnu.org/licenses/>.
use crate::{
- client::{self, Client},
+ client::Client,
error::Error,
};
//use serde::{Serialize, Serializer};
@@ -56,6 +56,6 @@ impl<'a> XChanFetcher<'a> {
pub fn fetch(&self) -> Result<String, Error> {
self.client
- .fetch_stream(client::ZOTAPI_XCHAN_PATH, &self.data.as_ref().unwrap())
+ .fetch_stream("xchan", &self.data.as_ref().unwrap())
}
}