Change to lowercase

This commit is contained in:
Sik Yoon 2024-05-20 04:08:09 +09:00
parent f92786fdcf
commit d2efd67c4f

View File

@ -158,9 +158,9 @@ pub async fn limit_order_entry(
]; ];
if *position == Position::Long { if *position == Position::Long {
update_values.push((String::from("position"), String::from("LONG"))); update_values.push((String::from("position"), String::from("Long")));
} else if *position == Position::Short { } else if *position == Position::Short {
update_values.push((String::from("position"), String::from("SHORT"))); update_values.push((String::from("position"), String::from("Short")));
} }
let update_condition = vec![(String::from("id"), entry_coin_info.id.to_string())]; let update_condition = vec![(String::from("id"), entry_coin_info.id.to_string())];