diff options
Diffstat (limited to 'examples/zot/network_stream.rs')
-rw-r--r-- | examples/zot/network_stream.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/zot/network_stream.rs b/examples/zot/network_stream.rs index 6dc1a0c..0e6edb4 100644 --- a/examples/zot/network_stream.rs +++ b/examples/zot/network_stream.rs @@ -21,7 +21,7 @@ use serde_json; use std::iter::Iterator; pub fn fetch(client: &zotapi::Client, raw: bool) { - match client.network_stream() { + match zotapi::network_stream().fetch(&client) { Ok(payload) => { if raw { println!("{}", payload); |