X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=app%2FGithub%2FAPI%2FHooks%2FListHooks.php;h=3d8237e992d87b9d110211221428f3ba0015acdf;hb=36cfa28cf2dcee3422f0231f91c6692eb28e7824;hp=6cd784e13c07961e33d2abfae19c653eb2c361f7;hpb=77b6c7f9f75740e15d745d34e7263111a73391a8;p=pharext%2Fpharext.org diff --git a/app/Github/API/Hooks/ListHooks.php b/app/Github/API/Hooks/ListHooks.php index 6cd784e..3d8237e 100644 --- a/app/Github/API/Hooks/ListHooks.php +++ b/app/Github/API/Hooks/ListHooks.php @@ -20,7 +20,8 @@ class ListHooks extends Call throw new RequestException($response); } $links = new Links($response->getHeader("Link")); - $this->saveToCache([$json, $links]); + $this->result = [$json, $links]; + $this->saveToCache($this->result); $callback($json, $links); return true; });