Skip to content

Commit

Permalink
small comment for Mailchimp API
Browse files Browse the repository at this point in the history
  • Loading branch information
tima101 committed Oct 6, 2018
1 parent 9900b9c commit 08b0d09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ To run locally, you will need to run two apps: `api` and `app`.
# Used in api/server/mailchimp.ts
MAILCHIMP_API_KEY="xxxxxx"
MAILCHIMP_REGION="xxxxxx"
MAILCHIMP_REGION="xxxx"
MAILCHIMP_SAAS_ALL_LIST_ID="xxxxxx"
# All env variables above this line are needed for successful user signup
Expand Down
1 change: 1 addition & 0 deletions api/server/mailchimp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const LIST_IDS = {

function callAPI({ path, method, data }) {
const ROOT_URI = `https://${process.env.MAILCHIMP_REGION}.api.mailchimp.com/3.0`;
// For us, MAILCHIMP_REGION has value of 'us17'.

const API_KEY = process.env.MAILCHIMP_API_KEY;

Expand Down

0 comments on commit 08b0d09

Please sign in to comment.