From 1337a78d736a568b28883b893054e46cdbc95103 Mon Sep 17 00:00:00 2001 From: Sik Yoon Date: Tue, 21 May 2024 12:57:08 +0900 Subject: [PATCH] Fix wrong insertion of characters --- src/future/order.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/future/order.rs b/src/future/order.rs index 3fca8d8..78375dc 100644 --- a/src/future/order.rs +++ b/src/future/order.rs @@ -467,9 +467,8 @@ pub async fn query_open_positioning_order( { // update values in [future_ordered_coin_list] let table_name = String::from("future_ordered_coin_list"); - let mut value_build = String::from("\'"); + let mut value_build = String::new(); value_build.push_str(T.get("status").unwrap().as_str().unwrap()); - value_build.push('\''); // calculate values to be updated if future_trade_fee.user_level.is_some() {