From e3890c00d05e11bca1dbb5230afbecc9a3622c9a Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 12 Oct 2026 19:26:40 +0000 Subject: [PATCH] =?UTF-8?q?Param=C3=A8tres=20:=20diagnostic=20et=20URL=20d?= =?UTF-8?q?e=20l'API=20FF=20branch=C3=A9s=20sur=20le=20module=20ff?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LG2LLJuswrrTTPKJmunEVf --- server/src/admin/qlik_bridge.rs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/server/src/admin/qlik_bridge.rs b/server/src/admin/qlik_bridge.rs index 5621280..af373f1 100644 --- a/server/src/admin/qlik_bridge.rs +++ b/server/src/admin/qlik_bridge.rs @@ -1,7 +1,7 @@ //! Points d'appel vers les modules `qlik` et `ff` utilisés par les Paramètres. //! Branchés après l'intégration de ces modules. -use serde_json::{json, Value}; +use serde_json::Value; /// Ouvre une session Qlik (NTLM → ticket → cookie) avec les identifiants donnés. pub async fn tester_session(_host: String, _user: String, _password: Option) -> anyhow::Result<()> { @@ -9,9 +9,11 @@ pub async fn tester_session(_host: String, _user: String, _password: Option) -> Value { - json!({ "success": false, "url": base.unwrap_or_default(), "error": "Diagnostic indisponible : module en cours de portage" }) + serde_json::to_value(crate::ff::diagnostic::diagnostiquer_api_ff(base).await).unwrap_or(Value::Null) }