From 4c985b5601a04ff198cb3a6c5a738a2f106fad8b Mon Sep 17 00:00:00 2001 From: hantmac Date: Fri, 16 May 2025 10:24:58 +0800 Subject: [PATCH 1/3] fix: re-format the query-id --- core/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/client.rs b/core/src/client.rs index 1fa8376a..5a453c1c 100644 --- a/core/src/client.rs +++ b/core/src/client.rs @@ -339,7 +339,7 @@ impl APIClient { } fn gen_query_id(&self) -> String { - uuid::Uuid::new_v4().to_string() + uuid::Uuid::new_v4().to_string().replace("-", "") } async fn handle_session(&self, session: &Option) { From f263e2278656b0b7fded60f7591d3275a7bac1ab Mon Sep 17 00:00:00 2001 From: hantmac Date: Tue, 17 Jun 2025 09:56:11 +0800 Subject: [PATCH 2/3] fix --- core/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/client.rs b/core/src/client.rs index 5a453c1c..67ea6be2 100644 --- a/core/src/client.rs +++ b/core/src/client.rs @@ -339,7 +339,7 @@ impl APIClient { } fn gen_query_id(&self) -> String { - uuid::Uuid::new_v4().to_string().replace("-", "") + uuid::Uuid::new_v4().simple().to_string().replace("-", "") } async fn handle_session(&self, session: &Option) { From c1e1910bc13a133834672fa159fa2b539e6aaae5 Mon Sep 17 00:00:00 2001 From: hantmac Date: Tue, 17 Jun 2025 10:08:36 +0800 Subject: [PATCH 3/3] z --- core/src/client.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/client.rs b/core/src/client.rs index 67ea6be2..14134acf 100644 --- a/core/src/client.rs +++ b/core/src/client.rs @@ -339,7 +339,7 @@ impl APIClient { } fn gen_query_id(&self) -> String { - uuid::Uuid::new_v4().simple().to_string().replace("-", "") + uuid::Uuid::new_v4().simple().to_string() } async fn handle_session(&self, session: &Option) {