aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/zot
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/zot')
-rw-r--r--src/bin/zot/main.rs1
-rw-r--r--src/bin/zot/zot/abconfig.rs2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/bin/zot/main.rs b/src/bin/zot/main.rs
index 70a7984..bf7b9b8 100644
--- a/src/bin/zot/main.rs
+++ b/src/bin/zot/main.rs
@@ -19,6 +19,7 @@ use clap::{clap_app, crate_authors, crate_version};
use dotenv::dotenv;
use std::env;
use std::str::FromStr;
+use zotapi::ZotAPI;
mod zot;
diff --git a/src/bin/zot/zot/abconfig.rs b/src/bin/zot/zot/abconfig.rs
index 14875c8..1d67a54 100644
--- a/src/bin/zot/zot/abconfig.rs
+++ b/src/bin/zot/zot/abconfig.rs
@@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-use zotapi;
+use zotapi::{self, ZotAPI};
pub async fn fetch(client: &zotapi::Client) {
match zotapi::ABConfig::z().fetch(&client).await {