dynamically calculate data center
This commit is contained in:
parent
f82d9a6375
commit
944d477eb6
|
@ -5,7 +5,7 @@
|
|||
source credentials.sh
|
||||
|
||||
user="bij1:${MAILCHIMP_API_KEY}"
|
||||
dc='us16'
|
||||
dc=$(echo $MAILCHIMP_API_KEY | sed 's/.*-//g')
|
||||
base="https://${dc}.api.mailchimp.com/3.0/"
|
||||
|
||||
# get lists
|
||||
|
|
Loading…
Reference in New Issue