From e1b9a0341830517a6d148c9176ab2b85d957ffbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D1=80=D0=B5=D0=BF=D0=BE=D0=B4=D0=BE=D0=B1=D0=BD?= =?UTF-8?q?=D1=8B=D0=B9=20=D0=90=D0=BB=D0=B5=D0=BD?= Date: Fri, 7 Oct 2022 17:55:00 +0300 Subject: [PATCH] Committing updates. --- src/app/Common.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/Common.cpp b/src/app/Common.cpp index a014f51..7ca8409 100644 --- a/src/app/Common.cpp +++ b/src/app/Common.cpp @@ -514,9 +514,9 @@ namespace Apostol { } try { - if (caCommand == "account") { + if (caCommand == "account" && (caAction == "status" || caAction == "new" || caAction == "add" || caAction == "update" || caAction == "delete")) { 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); } else if (caCommand == "signature") { DoSignature(AConnection);