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
/
Releases
/
ListReleaseAssets.php
diff --git
a/app/Github/API/Releases/ListReleaseAssets.php
b/app/Github/API/Releases/ListReleaseAssets.php
index bde9096b99930fee7e0f39e93824c3cd9bfca5ea..2aaaaad900a2a9fd7f84f0333c0a20e6d18cc77e 100644
(file)
--- a/
app/Github/API/Releases/ListReleaseAssets.php
+++ b/
app/Github/API/Releases/ListReleaseAssets.php
@@
-20,7
+20,8
@@
class ListReleaseAssets 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;
});