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
/
Repos
/
ListRepos.php
diff --git
a/app/Github/API/Repos/ListRepos.php
b/app/Github/API/Repos/ListRepos.php
index c84219696004d66ee5fbdec025e9b864309f7798..60767c395e42ef9188cc5744f012022cab6687a3 100644
(file)
--- 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"));
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;
});
$callback($json, $links);
return true;
});