From 314bd44eebf7862453bd5865b68b5aa593c663bf Mon Sep 17 00:00:00 2001 From: Alexander Harkness Date: Wed, 27 May 2015 15:09:16 +0100 Subject: [PATCH] Fixed copy-paste error in documentation. --- github/pulls_comments.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/pulls_comments.go b/github/pulls_comments.go index bfbad9a..35c7241 100644 --- a/github/pulls_comments.go +++ b/github/pulls_comments.go @@ -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)