mirror of
https://github.com/sitelease/sugar-cube-client.git
synced 2025-10-29 19:12: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();
|
$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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user