Skip to content

Commit a7573bc

Browse files
omit empty pr approver state and timestamp (#652)
1 parent c28d319 commit a7573bc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

internal/types/types.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ type PREvidence struct {
1515

1616
type PRApprovals struct {
1717
Username string `json:"username"`
18-
State string `json:"state"`
19-
Timestamp int64 `json:"timestamp"`
18+
State string `json:"state,omitempty"`
19+
Timestamp int64 `json:"timestamp,omitempty"`
2020
}
2121

2222
type Commit struct {

0 commit comments

Comments
 (0)