Commit 1f773490 authored by Jihoon Chung's avatar Jihoon Chung

Fix documentation about ListProjectIssues method

parent 4f117743
...@@ -117,10 +117,10 @@ type ListProjectIssuesOptions struct { ...@@ -117,10 +117,10 @@ type ListProjectIssuesOptions struct {
Sort string `url:"sort,omitempty"` Sort string `url:"sort,omitempty"`
} }
// ListProjectIssues gets all issues created by authenticated user. This function // ListProjectIssues gets a list of project issues. This function accepts
// takes pagination parameters page and per_page to restrict the list of issues. // pagination parameters page and per_page to return the list of project issues.
// //
// GitLab API docs: http://doc.gitlab.com/ce/api/issues.html#list-issues // GitLab API docs: http://doc.gitlab.com/ce/api/issues.html#list-project-issues
func (s *IssuesService) ListProjectIssues( func (s *IssuesService) ListProjectIssues(
pid interface{}, pid interface{},
opt *ListProjectIssuesOptions) ([]*Issue, *Response, error) { opt *ListProjectIssuesOptions) ([]*Issue, *Response, error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment