We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shameless copy/paste from statamic-rad-pack/mailchimp#137 PR: statamic/cms#11403
Before migrating to v5 we could use dynamic audience_id based on our environment using the env:
audience_id
env
'audience_id' => env('MAILCHIMP_AUDIENCE_ID'),
After upgrading I wanted to accomplish the same using the config, but it breaks everything because the config value isn't being replaced
audience_id: '{{ config:mailchimp:audience_id }}'
Taken from API call:
"lists/{{ config:mailchimp:audience_id }}"
/cp/forms/newsletter/edit
StatamicRadPack\Mailchimp\Fieldtypes\MailchimpField::callApi(): Return value must be of type ?array, bool returned
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
Shameless copy/paste from statamic-rad-pack/mailchimp#137
PR: statamic/cms#11403
Before migrating to v5 we could use dynamic
audience_id
based on our environment using theenv
:After upgrading I wanted to accomplish the same using the config, but it breaks everything because the config value isn't being replaced
Taken from API call:
"lists/{{ config:mailchimp:audience_id }}"
Steps to reproduce
audience_id
to mailcihmp.php config'audience_id' => env('MAILCHIMP_AUDIENCE_ID'),
audience_id
in newsletter.yaml to use configaudience_id: '{{ config:mailchimp:audience_id }}'
/cp/forms/newsletter/edit
StatamicRadPack\Mailchimp\Fieldtypes\MailchimpField::callApi(): Return value must be of type ?array, bool returned
The text was updated successfully, but these errors were encountered: