From d8fbf9afad433974f0762554824ad960283a4a57 Mon Sep 17 00:00:00 2001 From: Jan-Philipp Benecke Date: Mon, 20 Jul 2020 12:51:39 +0200 Subject: [PATCH] Use right CR API endpoint --- deploy/cleverreach.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/cleverreach.sh b/deploy/cleverreach.sh index fbd1c019..04f515a0 100644 --- a/deploy/cleverreach.sh +++ b/deploy/cleverreach.sh @@ -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"