Update ENV name (#18)
This commit is contained in:
parent
430e668d7f
commit
805a44d3c6
1 changed files with 1 additions and 1 deletions
|
|
@ -57,7 +57,7 @@ class MailchimpBot
|
|||
status = user.email_membership_newsletter ? "subscribed" : "unsubscribed"
|
||||
|
||||
begin
|
||||
gibbon.lists(ENV["MAILCHIMP_NEWSLETTER_ID"]).members(target_md5_email).upsert(
|
||||
gibbon.lists(ENV["MAILCHIMP_SUSTAINING_MEMBERS_ID"]).members(target_md5_email).upsert(
|
||||
body: {
|
||||
email_address: user.email,
|
||||
status: status,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue