mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2025-10-29 11:02:30 +01:00
Amendment - Fixed a bug in the new "getByID" method
This commit is contained in:
@ -126,7 +126,7 @@ class Repositories extends AbstractAllApiRequester
|
||||
{
|
||||
$client = $this->getClient();
|
||||
try {
|
||||
$response = $this->get("/repositories/$repoId");
|
||||
$response = $this->get("repositories/$repoId");
|
||||
$statusCode = $response->getStatusCode();
|
||||
$body = (string) $response->getBody();
|
||||
if ($statusCode == 200) {
|
||||
|
||||
Reference in New Issue
Block a user