You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to submit to multiple lists in my Mailchimp account and passing the List ID to my loopback model this way; however, it always will return to the defaultID I specify in my component-config-json. Any ideas on how to get around this?
Newsletter.js
`Newsletter.observe('before save', function mailChimp(ctx, next) {
console.log(ctx.instance)
I am attempting to submit to multiple lists in my Mailchimp account and passing the List ID to my loopback model this way; however, it always will return to the defaultID I specify in my component-config-json. Any ideas on how to get around this?
Newsletter.js
`Newsletter.observe('before save', function mailChimp(ctx, next) {
console.log(ctx.instance)
component-config.json
{ "loopback-component-roles": { "mountPath": "/explorer" }, "loopback-component-explorer": { "mountPath": "/explorer" }, "loopback-component-mailchimp": { "connector": "loopback-connector-mailgun", "apikey": "*****************", "defaultListId": "***************", "defaults": { "double_optin": true } } }
The text was updated successfully, but these errors were encountered: