diff --git a/base/Response.php b/base/Response.php index 7a34312..9adb357 100644 --- a/base/Response.php +++ b/base/Response.php @@ -29,6 +29,13 @@ public function getResult() public function setResult($value) { - $this->_result = new Result($value); + //for was set webhook + if(is_bool($value)) + { + $this->_result = $value; + } + else { + $this->_result = new Result($value); + } } } \ No newline at end of file