projects
/
pharext
/
pharext.org
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
bce718b
)
fix auth token
author
Michael Wallner
<mike@php.net>
Wed, 10 Jun 2015 07:57:24 +0000
(09:57 +0200)
committer
Michael Wallner
<mike@php.net>
Wed, 10 Jun 2015 07:57:24 +0000
(09:57 +0200)
app/Github/API/Users/ReadAuthToken.php
patch
|
blob
|
history
diff --git
a/app/Github/API/Users/ReadAuthToken.php
b/app/Github/API/Users/ReadAuthToken.php
index 5959e3d8b3bca4a1ad3e78e3e9c014380b154904..f754350881a97a94ebd4862089070d55f6e85a5a 100644
(file)
--- a/
app/Github/API/Users/ReadAuthToken.php
+++ b/
app/Github/API/Users/ReadAuthToken.php
@@
-22,7
+22,7
@@
class ReadAuthToken extends Call
if ($response->getResponseCode() >= 400 || null === ($json = json_decode($response->getBody()))) {
throw new RequestException($response);
}
- return
$json
;
+ return
[$json]
;
}
function getCacheKey() {