From 2c871a29b1ec07f322ff79417f453ecb2f4dd0d6 Mon Sep 17 00:00:00 2001 From: David Tai Date: Thu, 10 Aug 2017 13:41:39 -0500 Subject: [PATCH] Update members.go update to address undocumented api change --- members.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/members.go b/members.go index f7bb150..f86d736 100644 --- a/members.go +++ b/members.go @@ -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"`