yet another github api refactoring
[pharext/pharext.org] / app / Github / API / Users / ReadAuthToken.php
index 4430b45d7a025c7b5e02823c4421b972d10c86db..e167eef40e5bd3341b0e1c7939793229e3103dd6 100644 (file)
@@ -18,8 +18,13 @@ 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;
                });
        }
+       
+       function getCacheKey() {
+               return null;
+       }
 }