File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public function listRepositories($userId = null)
74
74
*/
75
75
public function addRepository ($ installationId , $ repositoryId )
76
76
{
77
- return $ this ->put ('/installation / ' .rawurlencode ($ installationId ).'/repositories/ ' .rawurlencode ($ repositoryId ));
77
+ return $ this ->put ('/installations / ' .rawurlencode ($ installationId ).'/repositories/ ' .rawurlencode ($ repositoryId ));
78
78
}
79
79
80
80
/**
@@ -89,6 +89,6 @@ public function addRepository($installationId, $repositoryId)
89
89
*/
90
90
public function removeRepository ($ installationId , $ repositoryId )
91
91
{
92
- return $ this ->delete ('/app / ' .rawurlencode ($ installationId ).'/repositories/ ' .rawurlencode ($ repositoryId ));
92
+ return $ this ->delete ('/installations / ' .rawurlencode ($ installationId ).'/repositories/ ' .rawurlencode ($ repositoryId ));
93
93
}
94
94
}
You can’t perform that action at this time.
0 commit comments