fix: use paheko_base_url config value

This commit is contained in:
Matthieu Bessat 2023-12-28 13:27:57 +01:00
parent 4184a0624c
commit 19117e2a19

View file

@ -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,