aboutsummaryrefslogtreecommitdiffstats
path: root/src/channel_stream.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel_stream.rs')
-rw-r--r--src/channel_stream.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channel_stream.rs b/src/channel_stream.rs
index 49f51e7..ed63f11 100644
--- a/src/channel_stream.rs
+++ b/src/channel_stream.rs
@@ -24,7 +24,7 @@ pub fn channel_stream() -> ChannelStream {
}
impl ChannelStream {
- pub fn fetch(&self, client: &Client) -> Result<String, Error> {
- client.fetch_stream("channel/stream", &())
+ pub async fn fetch(&self, client: &Client) -> Result<String, Error> {
+ client.fetch_stream("channel/stream", &()).await
}
}