Skip to content

Commit 2b4d596

Browse files
authored
Fix GitHub docs URL for get repository API (#2600)
1 parent 6216f64 commit 2b4d596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/repos.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ func (s *RepositoriesService) CreateFromTemplate(ctx context.Context, templateOw
495495

496496
// Get fetches a repository.
497497
//
498-
// GitHub API docs: https://docs.github.com/en/rest/repos/repos#update-a-repository
498+
// GitHub API docs: https://docs.github.com/en/rest/repos/repos#get-a-repository
499499
func (s *RepositoriesService) Get(ctx context.Context, owner, repo string) (*Repository, *Response, error) {
500500
u := fmt.Sprintf("repos/%v/%v", owner, repo)
501501
req, err := s.client.NewRequest("GET", u, nil)

0 commit comments

Comments
 (0)