Skip to content

Commit

Permalink
The result bug was fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
akbarjoudi committed Apr 1, 2020
1 parent 5a03947 commit 8dd1d0b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion base/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}

0 comments on commit 8dd1d0b

Please sign in to comment.