Skip to content

Commit

Permalink
feat(apps): allow extra parameters on listRepositories
Browse files Browse the repository at this point in the history
closes #1137
  • Loading branch information
Rezrazi committed Apr 2, 2024
1 parent 71fec50 commit 2fa5258
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/Github/Api/Apps.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,8 @@ public function removeInstallation($installationId)
*
* @return array
*/
public function listRepositories($userId = null)
public function listRepositories($userId = null, $parameters = [])
{
$parameters = [];
if ($userId) {
$parameters['user_id'] = $userId;
}
Expand Down

0 comments on commit 2fa5258

Please sign in to comment.