Add a missing isDraft for querying PR by number
This commit is contained in:
parent
0cfa4be86a
commit
7b5a0b5694
1 changed files with 1 additions and 0 deletions
|
|
@ -321,6 +321,7 @@ func PullRequestByNumber(client *Client, repo ghrepo.Interface, number int) (*Pu
|
|||
}
|
||||
}
|
||||
isCrossRepository
|
||||
isDraft
|
||||
maintainerCanModify
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue