-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi,
The docs say:
batch endpoints will now only need you to pass an array of objects as:
payload = [
{
email: 'user@example.com',
action: 'Purchased'
},
{
email: 'user@example.com',
action: 'Purchased'
}
]
// client.recordBatchEvents(payload, ...)But looking at the source code, it seems that the program searches for a payload.batches property:
https://github.com/DripEmail/drip-nodejs/blob/master/lib/subscribers.js#L89
Can you please clarify?
Thanks!
codyjames
Metadata
Metadata
Assignees
Labels
No labels