Skip to content

update recipientLists example code out of date #261

Description

@mattbarnicle

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: 'test1@test.com' } } ]
})

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: 'test1@test.com' } } ]
})

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions