aboutsummaryrefslogtreecommitdiffstats
path: root/examples/zot/abconfig.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/zot/abconfig.rs')
-rw-r--r--examples/zot/abconfig.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/zot/abconfig.rs b/examples/zot/abconfig.rs
index 54d555c..2362408 100644
--- a/examples/zot/abconfig.rs
+++ b/examples/zot/abconfig.rs
@@ -18,7 +18,7 @@
use zotapi;
pub fn fetch(client: &zotapi::Client) {
- match client.abconfig().fetch() {
+ match zotapi::abconfig().fetch(&client) {
Ok(payload) => {
println!("{}", payload);
}