CCAPISingleOrderManager state machine fixed
This commit is contained in:
1 parent
3078b918d2
commit
d47e61ca57
6 files changed
+89
-64
No files matched your search
@@ -16,6 +16,8 @@ bts::api::orderman::OrderStatus convert_ccapi_status(
|
||||
// TODO, find the other status'es
|
||||
if (status == "open")
|
||||
return bts::api::orderman::OrderStatus::ORDER_STATUS_WORKING;
|
||||
else if (status == "cancelled")
|
||||
return bts::api::orderman::OrderStatus::ORDER_STATUS_CANCELED;
|
||||
return bts::api::orderman::OrderStatus::ORDER_STATUS_COMPLETED;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user