Skip to content

Commit

Permalink
Update 'Using mailchimp' readme section (#293)
Browse files Browse the repository at this point in the history
While using your package, I followed the instructions, but I was always getting empty responses and I couldn't get any information from getLastError() or getLastResponse(). I ran the code step by step and found that if NEWSLETTER_ENDPOINT is set to an empty string as the documentation states, the Mailchimp endpoint isn't built correctly. The solution is to set that value to null instead.
  • Loading branch information
jose-bittacora committed Aug 17, 2023
1 parent 7c67f13 commit 6f242da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -106,7 +106,7 @@ The `driver` key of the `newsletter` config file must be set to `Spatie\Newslett

Next, you must provide values for the API key and `list.subscribers.id`. You'll find these values in the MailChimp UI.

The `endpoint` config value can be set to an empty string.
The `endpoint` config value must be set to null.

## Usage

Expand Down

0 comments on commit 6f242da

Please sign in to comment.