Browse Source

fix format

json
neilpang 5 years ago
parent
commit
41c951811e
  1. 6
      dnsapi/dns_cf.sh

6
dnsapi/dns_cf.sh

@ -180,9 +180,9 @@ _cf_rest() {
data="$3" data="$3"
_debug "$ep" _debug "$ep"
email_trimmed=$(echo $CF_Email | tr -d '"')
key_trimmed=$(echo $CF_Key | tr -d '"')
token_trimmed=$(echo $CF_Token | tr -d '"')
email_trimmed=$(echo "$CF_Email" | tr -d '"')
key_trimmed=$(echo "$CF_Key" | tr -d '"')
token_trimmed=$(echo "$CF_Token" | tr -d '"')
export _H1="Content-Type: application/json" export _H1="Content-Type: application/json"
if [ "$token_trimmed" ]; then if [ "$token_trimmed" ]; then

Loading…
Cancel
Save