Commit f276e384 authored by Sander van Harmelen's avatar Sander van Harmelen

Merge pull request #13 from difro/fix-doc-listproject-issues

Fix documentation about ListProjectIssues method
parents dc7c093e 1f773490
...@@ -119,10 +119,10 @@ type ListProjectIssuesOptions struct { ...@@ -119,10 +119,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