diff options
Diffstat (limited to 'src/bin/zot/zot/channel_stream.rs')
-rw-r--r-- | src/bin/zot/zot/channel_stream.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/zot/zot/channel_stream.rs b/src/bin/zot/zot/channel_stream.rs index 33ad7cf..68a5402 100644 --- a/src/bin/zot/zot/channel_stream.rs +++ b/src/bin/zot/zot/channel_stream.rs @@ -20,8 +20,8 @@ use zotapi; use serde_json; use std::iter::Iterator; -pub fn fetch(client: &zotapi::Client, raw: bool) { - match zotapi::channel_stream().fetch(&client) { +pub async fn fetch(client: &zotapi::Client, raw: bool) { + match zotapi::channel_stream().fetch(&client).await { Ok(payload) => { if raw { println!("{}", payload); |