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

update recipientLists example code out of date #261

Open
mattbarnicle opened this issue Jun 28, 2022 · 0 comments
Open

update recipientLists example code out of date #261

mattbarnicle opened this issue Jun 28, 2022 · 0 comments

Comments

@mattbarnicle
Copy link

mattbarnicle commented Jun 28, 2022

the example code for updating recipientLists seems to be done against an older version. the example code looks something like this:

client.recipientLists.update({
    id: 'EXISTING_TEST_ID',
    recipients: [ { address: { email: '[email protected]' } } ]
})

but this argument list fails. after inspecting the code, i found that this is the argument list that's expected, and works:

client.recipientLists.update('EXISTING_TEST_ID', {
    recipients: [ { address: { email: '[email protected]' } } ]
})
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

No branches or pull requests

1 participant