From 19117e2a198cf103962a924ad5db905494ea19b5 Mon Sep 17 00:00:00 2001 From: Matthieu Bessat Date: Thu, 28 Dec 2023 13:27:57 +0100 Subject: [PATCH] fix: use paheko_base_url config value --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 60fad76..8367cbb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -182,7 +182,7 @@ async fn launch_adapter() -> Result<()> { let mut user_cache = load_user_cache().context("Failed to load user cache")?; - let mut paheko_client: paheko::Client = paheko::Client::new("http://localhost:8082/api/".to_string()); + let mut paheko_client: paheko::Client = paheko::Client::new(config.paheko_base_url); let paheko_credentials = paheko::Credentials { client_id: config.paheko_client_id,