Use right CR API endpoint

This commit is contained in:
Jan-Philipp Benecke 2020-07-20 12:51:39 +02:00
parent 1d80ed731c
commit d8fbf9afad
No known key found for this signature in database
GPG Key ID: 60E71CF4F1EB4383

View File

@ -43,7 +43,7 @@ cleverreach_deploy() {
_info "Obtaining a CleverReach access token"
_data="{\"grant_type\": \"client_credentials\", \"client_id\": \"${_cleverreach_client_id}\", \"client_secret\": \"${_cleverreach_client_secret}\"}"
_auth_result="$(_post "$_data" "https://rest.cleverreach.dev/oauth/token.php" "" "POST" "application/json")"
_auth_result="$(_post "$_data" "https://rest.cleverreach.com/oauth/token.php" "" "POST" "application/json")"
_debug _data "$_data"
_debug _auth_result "$_auth_result"