Skip to content

update recipientLists example code out of date #261

@mattbarnicle

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' } } ]
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions