Committing updates.

This commit is contained in:
Преподобный Ален
2022-10-07 17:55:00 +03:00
parent 4415c819cd
commit e1b9a03418

View File

@@ -514,9 +514,9 @@ namespace Apostol {
} }
try { try {
if (caCommand == "account") { if (caCommand == "account" && (caAction == "status" || caAction == "new" || caAction == "add" || caAction == "update" || caAction == "delete")) {
DoAccount(AConnection, "POST", sRoute); DoAccount(AConnection, "POST", sRoute);
} else if (caCommand == "deal") { } else if (caCommand == "deal" && (caAction.IsEmpty() || caAction == "status" || caAction == "create" || caAction == "pay" || caAction == "complete" || caAction == "cancel" || caAction == "feedback")) {
DoDeal(AConnection, "POST", sRoute, caAction); DoDeal(AConnection, "POST", sRoute, caAction);
} else if (caCommand == "signature") { } else if (caCommand == "signature") {
DoSignature(AConnection); DoSignature(AConnection);