From ad94b197ae887d8b1ddefd4574b69ebd8d41cc00 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Sun, 24 Nov 2024 00:14:42 +0000 Subject: [PATCH] fix: pretty solid chance that this was due to using teh wrong base url --- Cargo.lock | 2 +- src/lib.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3a31650..4375270 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -3917,7 +3917,7 @@ dependencies = [ [[package]] name = "wolves_oxidised" version = "0.1.0" -source = "git+https://forgejo.skynet.ie/Skynet/wolves-oxidised.git#0097761c6973b490ffd0ec5b5ca45d3ab9c7915a" +source = "git+https://forgejo.skynet.ie/Skynet/wolves-oxidised.git#eee6a76c695a36f1fe220fdeafd5a43757e50527" dependencies = [ "reqwest 0.12.9", "serde", diff --git a/src/lib.rs b/src/lib.rs index b449861..d73b009 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -93,13 +93,12 @@ pub fn get_config() -> Config { config.mail_pass = x.trim().to_string(); } - if let Ok(x) = env::var("WOLVES_URL") { + if let Ok(x) = env::var("WOLVES_URL_BASE") { config.wolves_url = x.trim().to_string(); } if let Ok(x) = env::var("WOLVES_API") { config.wolves_api = x.trim().to_string(); } - dbg!(&config); config }