diff options
Diffstat (limited to 'examples/zot/abook.rs')
-rw-r--r-- | examples/zot/abook.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/zot/abook.rs b/examples/zot/abook.rs index a16f68c..b710fa7 100644 --- a/examples/zot/abook.rs +++ b/examples/zot/abook.rs @@ -16,7 +16,7 @@ */ pub fn fetch(client: &zotapi::Client, raw: bool) { - match client.abook().fetch() { + match zotapi::abook().fetch(&client) { Ok(payload) => { if raw { println!("{}", &payload); |