Skip to content

Commit

Permalink
Update members.go
Browse files Browse the repository at this point in the history
update to address undocumented api change
  • Loading branch information
davidtai authored Aug 10, 2017
1 parent 034be1c commit 2c871a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion members.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type ListOfMembers struct {
type MemberRequest struct {
EmailAddress string `json:"email_address"`
Status string `json:"status"`
StatusIfNew string `json:"status_if_new"`
StatusIfNew string `json:"status_if_new,omitempty"`
MergeFields map[string]string `json:"merge_fields,omitempty"`
Interests map[string]bool `json:"interests,omitempty"`
Language string `json:"language"`
Expand Down

0 comments on commit 2c871a2

Please sign in to comment.