@@ -2073,8 +2073,8 @@ func isBranchNotProtected(err error) bool {
2073
2073
// EnablePrivateReporting enables private reporting of vulnerabilities for a
2074
2074
// repository.
2075
2075
//
2076
- // Github API docs: https://docs.github.com/en/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository
2077
- func (s * RepositoriesService ) EnablePrivateReporting (ctx context.Context , owner string , repo string ) (* Response , error ) {
2076
+ // GitHub API docs: https://docs.github.com/en/rest/repos/repos#enable-private-vulnerability-reporting-for-a-repository
2077
+ func (s * RepositoriesService ) EnablePrivateReporting (ctx context.Context , owner , repo string ) (* Response , error ) {
2078
2078
u := fmt .Sprintf ("repos/%v/%v/private-vulnerability-reporting" , owner , repo )
2079
2079
2080
2080
req , err := s .client .NewRequest ("PUT" , u , nil )
@@ -2093,8 +2093,8 @@ func (s *RepositoriesService) EnablePrivateReporting(ctx context.Context, owner
2093
2093
// DisablePrivateReporting disables private reporting of vulnerabilities for a
2094
2094
// repository.
2095
2095
//
2096
- // Github API docs: https://docs.github.com/en/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository
2097
- func (s * RepositoriesService ) DisablePrivateReporting (ctx context.Context , owner string , repo string ) (* Response , error ) {
2096
+ // GitHub API docs: https://docs.github.com/en/rest/repos/repos#disable-private-vulnerability-reporting-for-a-repository
2097
+ func (s * RepositoriesService ) DisablePrivateReporting (ctx context.Context , owner , repo string ) (* Response , error ) {
2098
2098
u := fmt .Sprintf ("repos/%v/%v/private-vulnerability-reporting" , owner , repo )
2099
2099
2100
2100
req , err := s .client .NewRequest ("DELETE" , u , nil )
0 commit comments