Amendment - Fixed a bug in the new "getByID" method

This commit is contained in:
Benjamin Blake
2020-04-01 13:05:25 -06:00
parent e60312fab3
commit d37650a882

View File

@ -126,7 +126,7 @@ class Repositories extends AbstractAllApiRequester
{ {
$client = $this->getClient(); $client = $this->getClient();
try { try {
$response = $this->get("/repositories/$repoId"); $response = $this->get("repositories/$repoId");
$statusCode = $response->getStatusCode(); $statusCode = $response->getStatusCode();
$body = (string) $response->getBody(); $body = (string) $response->getBody();
if ($statusCode == 200) { if ($statusCode == 200) {