-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
The trigger for mailchimp currently uses:
local jobType = p.input:getJobType():toString()
local mailChimpList
if(jobType == "CREATE_SERVER") then
mailChimpList = "MAILCHIMP_SERVER_LIST"
elseif (jobType == "CREATE_CUSTOMER") then
mailChimpList = "MAILCHIMP_CUSTOMER_LIST"
elseif (jobType == "CREATE_DEPLOYMENT_INSTANCE") then
mailChimpList = "MAILCHIMP_BENTOBOX_LIST"
else
return { exitState = "SUCCESS" }
endto select which list the email should be added to. However the documentation specifies that "MAILCHIMP_LIST_ID" key name should be used which does not match the code.
I can either modify the code to use a single list with "MAILCHIMP_LIST_ID" or modify the docs to note that multiple keys are supported.
Any thoughts?
Metadata
Metadata
Assignees
Labels
No labels