Browse Source

first attempt to fix CI errors

pull/1305/head
nytral 7 years ago
parent
commit
3bc59a0327
  1. 2
      dnsapi/dns_me.sh

2
dnsapi/dns_me.sh

@ -43,7 +43,7 @@ dns_me_add() {
return 1 return 1
fi fi
# _info "Adding record"
_info "Adding record"
if _me_rest POST "$_domain_id/records/" "{\"type\":\"TXT\",\"name\":\"$_sub_domain\",\"value\":\"$txtvalue\",\"gtdLocation\":\"DEFAULT\",\"ttl\":120}"; then if _me_rest POST "$_domain_id/records/" "{\"type\":\"TXT\",\"name\":\"$_sub_domain\",\"value\":\"$txtvalue\",\"gtdLocation\":\"DEFAULT\",\"ttl\":120}"; then
if printf -- "%s" "$response" | grep \"id\": >/dev/null; then if printf -- "%s" "$response" | grep \"id\": >/dev/null; then
_info "Added" _info "Added"

Loading…
Cancel
Save