Skip to content

Commit

Permalink
added more detail to function comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Reidy committed Apr 29, 2024
1 parent 2c8a998 commit 13c74db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion github/apps.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,9 @@ func (s *AppsService) CreateInstallationToken(ctx context.Context, id int64, opt
return t, resp, nil
}

// CreateInstallationTokenListRepos creates a new installation token with an empty repository list as a parameter.
// CreateInstallationTokenListRepos creates a new installation token with a list of all repositories in an installation which is not possible with CreateInstallationToken.
//
// differs from CreateInstallationToken by taking InstallationTokenListRepoOptions as a parameter which does not omit RepositoryIDs if that field is nil or an empty array.
//
// GitHub API docs: https://docs.github.com/rest/apps/apps#create-an-installation-access-token-for-an-app
//
Expand Down

0 comments on commit 13c74db

Please sign in to comment.