forked from Qortal/qortal
Fix DELETE /crosschain/tradebot by adding missing repository.saveChanges()
This commit is contained in:
parent
d766cfaa67
commit
b07ad094c1
@ -196,8 +196,10 @@ public class TradeBot implements Listener {
|
||||
canDelete = acctTradeBot == null || acctTradeBot.canDelete(repository, tradeBotData);
|
||||
}
|
||||
|
||||
if (canDelete)
|
||||
if (canDelete) {
|
||||
repository.getCrossChainRepository().delete(tradePrivateKey);
|
||||
repository.saveChanges();
|
||||
}
|
||||
|
||||
return canDelete;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user