From 23ee0a42a35a8b4f28548981d86d538589e36d97 Mon Sep 17 00:00:00 2001 From: t8y2 <1156263951@qq.com> Date: Fri, 26 Jun 2026 18:17:51 +0800 Subject: [PATCH] fix(connection): clone url_params to avoid partial move in influxdb test --- src-tauri/src/commands/connection.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-tauri/src/commands/connection.rs b/src-tauri/src/commands/connection.rs index 61a7f943d..12fd7b25b 100644 --- a/src-tauri/src/commands/connection.rs +++ b/src-tauri/src/commands/connection.rs @@ -779,7 +779,7 @@ pub async fn test_connection(state: State<'_, Arc>, config: Connection &url, username, password, - config.url_params, + config.url_params.clone(), Some(&config.ca_cert_path), connect_timeout, )?;