Fix ListRepoPullRequests #219

Merged
lunny merged 7 commits from 6543/go-sdk:fix-ListRepoPullRequests into master 2020-01-16 03:52:30 +00:00
Showing only changes of commit 222d1070a2 - Show all commits

View File

@ -59,9 +59,9 @@ type PullRequest struct {
// ListPullRequestsOptions options for listing pull requests
type ListPullRequestsOptions struct {
Page int `json:"page"`
Page int `json:"page"`
// open, closed, all
State string `json:"state"`
State string `json:"state"`
// oldest, recentupdate, leastupdate, mostcomment, leastcomment, priority
Sort string `json:"sort"`
Milestone int64 `json:"milestone"`