Skip to content

Commit

Permalink
omitempty for AbandonInput.Notify and AbandonInput.NotifyDetails fiel…
Browse files Browse the repository at this point in the history
…ds (#89)
  • Loading branch information
chizhg authored May 14, 2021
1 parent 58fd2fe commit eab0848
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions changes.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ type NotifyInfo struct {
// AbandonInput entity contains information for abandoning a change.
type AbandonInput struct {
Message string `json:"message,omitempty"`
Notify string `json:"notify"`
NotifyDetails []NotifyInfo `json:"notify_details"`
Notify string `json:"notify,omitempty"`
NotifyDetails []NotifyInfo `json:"notify_details,omitempty"`
}

// ApprovalInfo entity contains information about an approval from a user for a label on a change.
Expand Down

0 comments on commit eab0848

Please sign in to comment.