Skip to content

Commit

Permalink
Fix GitHub docs URL for get repository API (#2600)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelosousa committed Dec 16, 2022
1 parent 6216f64 commit 2b4d596
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/repos.go
Expand Up @@ -495,7 +495,7 @@ func (s *RepositoriesService) CreateFromTemplate(ctx context.Context, templateOw

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

0 comments on commit 2b4d596

Please sign in to comment.