Skip to content

Commit

Permalink
Merge pull request #9 from getbrevo/CI-000
Browse files Browse the repository at this point in the history
CI-000: fixing blacklist issue on update
  • Loading branch information
jain-raunak authored Mar 20, 2024
2 parents af34a62 + 876a79e commit 6faf0df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/model_create_contact.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ type CreateContact struct {
// Pass the set of attributes and their values. The attribute's parameter should be passed in capital letter while creating a contact. These attributes must be present in your Brevo account. For eg. {\"FNAME\":\"Elly\", \"LNAME\":\"Roger\"}
Attributes map[string]interface{} `json:"attributes,omitempty"`
// Set this field to blacklist the contact for emails (emailBlacklisted = true)
EmailBlacklisted bool `json:"emailBlacklisted,omitempty"`
EmailBlacklisted bool `json:"emailBlacklisted"`
// Set this field to blacklist the contact for SMS (smsBlacklisted = true)
SmsBlacklisted bool `json:"smsBlacklisted,omitempty"`
SmsBlacklisted bool `json:"smsBlacklisted"`
// Ids of the lists to add the contact to
ListIds []int64 `json:"listIds,omitempty"`
// Facilitate to update the existing contact in the same request (updateEnabled = true)
Expand Down

0 comments on commit 6faf0df

Please sign in to comment.