X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=app%2FGithub%2FAPI%2FHooks%2FUpdateHook.php;h=1fb8231cdfde9c8d7d1de044426dfdda1955ea52;hb=36cfa28cf2dcee3422f0231f91c6692eb28e7824;hp=cd249bad2b7bb544fbfaf147566af44bb28926cd;hpb=77b6c7f9f75740e15d745d34e7263111a73391a8;p=pharext%2Fpharext.org diff --git a/app/Github/API/Hooks/UpdateHook.php b/app/Github/API/Hooks/UpdateHook.php index cd249ba..1fb8231 100644 --- a/app/Github/API/Hooks/UpdateHook.php +++ b/app/Github/API/Hooks/UpdateHook.php @@ -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; });