diff --git a/lib/remote/actionshandler.cpp b/lib/remote/actionshandler.cpp index 7b61cd5b9..e94debb63 100644 --- a/lib/remote/actionshandler.cpp +++ b/lib/remote/actionshandler.cpp @@ -94,7 +94,7 @@ bool ActionsHandler::HandleRequest( int statusCode = 500; for (const Dictionary::Ptr& res : results) { - if (res->Contains("code") && res->Get("code") == 200) { + if (res->Contains("code") && res->Get("code") >= 200 && res->Get("code") <= 299) { statusCode = 200; break; }