X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=app%2FGithub%2FAPI%2FRepos%2FListRepos.php;h=60767c395e42ef9188cc5744f012022cab6687a3;hb=36cfa28cf2dcee3422f0231f91c6692eb28e7824;hp=c84219696004d66ee5fbdec025e9b864309f7798;hpb=07b87ac26f62bc3c069bb16983fe7500272e19b4;p=pharext%2Fpharext.org diff --git a/app/Github/API/Repos/ListRepos.php b/app/Github/API/Repos/ListRepos.php index c842196..60767c3 100644 --- a/app/Github/API/Repos/ListRepos.php +++ b/app/Github/API/Repos/ListRepos.php @@ -20,7 +20,8 @@ class ListRepos 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; });