yet another github api refactoring
[pharext/pharext.org] / app / Github / API / Hooks / CreateHook.php
index 866e93964236bdd12bccdb95c2025d5db3368553..8e7c050e0c0ff1b62b9bb46b9b11c56379f429b9 100644 (file)
@@ -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;
                });