X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=app%2FGithub%2FAPI%2FHooks%2FCreateHook.php;h=8e7c050e0c0ff1b62b9bb46b9b11c56379f429b9;hb=36cfa28cf2dcee3422f0231f91c6692eb28e7824;hp=866e93964236bdd12bccdb95c2025d5db3368553;hpb=a2af03951ac7fbd032609d0044c0a85704b77771;p=pharext%2Fpharext.org diff --git a/app/Github/API/Hooks/CreateHook.php b/app/Github/API/Hooks/CreateHook.php index 866e939..8e7c050 100644 --- a/app/Github/API/Hooks/CreateHook.php +++ b/app/Github/API/Hooks/CreateHook.php @@ -39,6 +39,7 @@ class CreateHook extends Call if ($response->getResponseCode() >= 400 || null === ($json = json_decode($response->getBody()))) { throw new RequestException($response); } + $this->result = [$json]; $callback($json); return true; });