Skip to content

Commit 62b16fc

Browse files
authored
Fix
1 parent 8fa6ab0 commit 62b16fc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/Github/Api/Apps.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public function listRepositories($userId = null)
7474
*/
7575
public function addRepository($installationId, $repositoryId)
7676
{
77-
return $this->put('/app/'.rawurlencode($installationId).'/repositories/'.rawurlencode($repositoryId));
77+
return $this->put('/installation/'.rawurlencode($installationId).'/repositories/'.rawurlencode($repositoryId));
7878
}
7979

8080
/**

0 commit comments

Comments
 (0)