yet another github api refactoring
[pharext/pharext.org] / app / Github / API / Users / ReadAuthToken.php
index bc1f03bb5349d4bb50e21ba8786e0490b63a9636..e167eef40e5bd3341b0e1c7939793229e3103dd6 100644 (file)
@@ -18,6 +18,7 @@ class ReadAuthToken extends Call
                        if ($response->getResponseCode() >= 400 || null === ($json = json_decode($response->getBody()))) {
                                throw new RequestException($response);
                        }
+                       $this->result = [$json];
                        $callback($json);
                        return true;
                });