Skip to content

Commit 5d9af80

Browse files
authored
add missing Submitted field to ChangeInfo (#26)
1 parent 9a0be9c commit 5d9af80

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ first. For more complete details see
2020
(ErrWWWAuthenticateHeader*) rather than calling fmt.Errorf. This makes
2121
it easier to test against externally and also fixes a lint issue too.
2222
* Updated NewClient function to handle credentials in the url.
23+
* Added the missing `Submitted` field to `ChangeInfo`.
2324

2425
### 0.1.0
2526

changes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ type ChangeInfo struct {
251251
Status string `json:"status"`
252252
Created string `json:"created"`
253253
Updated string `json:"updated"`
254+
Submitted string `json:"submitted,omitempty"`
254255
Starred bool `json:"starred,omitempty"`
255256
Reviewed bool `json:"reviewed,omitempty"`
256257
Mergeable bool `json:"mergeable,omitempty"`

0 commit comments

Comments
 (0)