Expose fullDatabaseId for PR json export
This commit is contained in:
parent
a4da98d49a
commit
8a0d361bac
3 changed files with 3 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ const (
|
|||
|
||||
type PullRequest struct {
|
||||
ID string
|
||||
FullDatabaseID string
|
||||
Number int
|
||||
Title string
|
||||
State string
|
||||
|
|
|
|||
|
|
@ -289,6 +289,7 @@ var PullRequestFields = append(sharedIssuePRFields,
|
|||
"commits",
|
||||
"deletions",
|
||||
"files",
|
||||
"fullDatabaseId",
|
||||
"headRefName",
|
||||
"headRefOid",
|
||||
"headRepository",
|
||||
|
|
|
|||
|
|
@ -41,6 +41,7 @@ func TestJSONFields(t *testing.T) {
|
|||
"createdAt",
|
||||
"deletions",
|
||||
"files",
|
||||
"fullDatabaseId",
|
||||
"headRefName",
|
||||
"headRefOid",
|
||||
"headRepository",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue