From: Michael Wallner Date: Wed, 10 Jun 2015 07:57:24 +0000 (+0200) Subject: fix auth token X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=f062fb55f18bd7878c438039d35cf53f2a3d16d2;p=pharext%2Fpharext.org fix auth token --- diff --git a/app/Github/API/Users/ReadAuthToken.php b/app/Github/API/Users/ReadAuthToken.php index 5959e3d..f754350 100644 --- 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() {