We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c258cc0 + 4d53365 commit 4f7d08dCopy full SHA for 4f7d08d
lib/Github/Api/Apps.php
@@ -82,7 +82,7 @@ public function getInstallationForOrganization($org)
82
{
83
$this->configurePreviewHeader();
84
85
- return $this->get('/org/'.rawurldecode($org).'/installation');
+ return $this->get('/orgs/'.rawurldecode($org).'/installation');
86
}
87
88
/**
test/Github/Tests/Api/AppTest.php
@@ -66,7 +66,7 @@ public function shouldGetInstallationForOrganization()
66
$api = $this->getApiMock();
67
$api->expects($this->once())
68
->method('get')
69
- ->with('/org/1234/installation')
+ ->with('/orgs/1234/installation')
70
->willReturn($result);
71
72
$this->assertEquals($result, $api->getInstallationForOrganization('1234'));
0 commit comments