Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix overriding exclusion state #91

Merged
merged 1 commit into from
Jul 6, 2022
Merged

Fix overriding exclusion state #91

merged 1 commit into from
Jul 6, 2022

Conversation

tsidei
Copy link
Collaborator

@tsidei tsidei commented Jul 1, 2022

resolves #90

Make the IsExcludedFromCampaigns field in the AddContactAction type as a pointer with omitempty to not include that field if not set. Otherwise the update request with this field not set will override the previous state to false when it should preserve it.

…pe as a pointer with omitempty to not include that field if not set. Otherwise the update request with this field not set will override the previous state to false when it should preserve it.
@tsidei tsidei merged commit e9b4db4 into master Jul 6, 2022
@tsidei tsidei deleted the 90-exclusion-list-fix branch July 6, 2022 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Updating contacts forcibly sets exclusion state
1 participant