Fix wrong insertion of characters

This commit is contained in:
Sik Yoon 2024-05-21 12:57:08 +09:00
parent 2d50f9cdbb
commit 1337a78d73

View File

@ -467,9 +467,8 @@ pub async fn query_open_positioning_order(
{ {
// update values in [future_ordered_coin_list] // update values in [future_ordered_coin_list]
let table_name = String::from("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_str(T.get("status").unwrap().as_str().unwrap());
value_build.push('\'');
// calculate values to be updated // calculate values to be updated
if future_trade_fee.user_level.is_some() { if future_trade_fee.user_level.is_some() {