Browse Source

Use right CR API endpoint

pull/3065/head
Jan-Philipp Benecke 5 years ago
parent
commit
d8fbf9afad
No known key found for this signature in database GPG Key ID: 60E71CF4F1EB4383
  1. 2
      deploy/cleverreach.sh

2
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"

Loading…
Cancel
Save