Close #18
This commit is contained in:
2
dm-cli/.vscode/launch.json
vendored
2
dm-cli/.vscode/launch.json
vendored
@@ -22,7 +22,7 @@
|
||||
"https://testnet-dm2.bitdeals.org",
|
||||
"--debug",
|
||||
"deal",
|
||||
"negative",
|
||||
"cancel",
|
||||
"-m",
|
||||
"message_text",
|
||||
"-s",
|
||||
|
||||
@@ -532,7 +532,7 @@ int Deals::Cancel()
|
||||
string result = ExecCommand(data.c_str());
|
||||
if (result.length() == 0)
|
||||
{
|
||||
return NoResponse("");
|
||||
return NoResponse(data);
|
||||
}
|
||||
|
||||
nlohmann::json jsonData = nlohmann::json::parse(result);
|
||||
|
||||
Reference in New Issue
Block a user