Browse Source

Fixed copy-paste error in documentation.

Alexander Harkness 11 years ago
committed by Will Norris
parent
commit
314bd44eeb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      github/pulls_comments.go

+ 1
- 1
github/pulls_comments.go View File

@ -93,7 +93,7 @@ func (s *PullRequestsService) GetComment(owner string, repo string, number int)
// CreateComment creates a new comment on the specified pull request.
//
// GitHub API docs: https://developer.github.com/v3/pulls/comments/#get-a-single-comment
// GitHub API docs: https://developer.github.com/v3/pulls/comments/#create-a-comment
func (s *PullRequestsService) CreateComment(owner string, repo string, number int, comment *PullRequestComment) (*PullRequestComment, *Response, error) {
u := fmt.Sprintf("repos/%v/%v/pulls/%d/comments", owner, repo, number)
req, err := s.client.NewRequest("POST", u, comment)


Loading…
Cancel
Save