yet another github api refactoring
[pharext/pharext.org] / app / Github / API / Hooks / UpdateHook.php
index cd249bad2b7bb544fbfaf147566af44bb28926cd..1fb8231cdfde9c8d7d1de044426dfdda1955ea52 100644 (file)
@@ -25,6 +25,7 @@ class UpdateHook extends \app\Github\API\Call
                        if ($response->getResponseCode() >= 400 || null === ($json = json_decode($response->getBody()))) {
                                throw new \app\Github\Exception\RequestException($response);
                        }
+                       $this->result = [$json];
                        $callback($json);
                        return true;
                });