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
/
UpdateHook.php
diff --git
a/app/Github/API/Hooks/UpdateHook.php
b/app/Github/API/Hooks/UpdateHook.php
index cd249bad2b7bb544fbfaf147566af44bb28926cd..1fb8231cdfde9c8d7d1de044426dfdda1955ea52 100644
(file)
--- 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;
});