projects
/
pharext
/
pharext.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
| inline |
side by side
yet another github api refactoring
[pharext/pharext.org]
/
app
/
Github
/
API
/
Hooks
/
CreateHook.php
diff --git
a/app/Github/API/Hooks/CreateHook.php
b/app/Github/API/Hooks/CreateHook.php
index 866e93964236bdd12bccdb95c2025d5db3368553..8e7c050e0c0ff1b62b9bb46b9b11c56379f429b9 100644
(file)
--- 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;
});