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