This commit is contained in:
peter 2022-02-08 13:34:42 +01:00
parent 9fb89d7fd2
commit ee0fadf247

View File

@ -84,7 +84,7 @@ dns_curanet_rm() {
recordid=$(echo "$response" | _egrep_o "{\"id\":[0-9]+,\"name\":\"$fulldomain\"" | _egrep_o "id\":[0-9]+" | cut -c 5-)
_debug "Deleting recordID $recordid"
response="$(_post "" "$CURANET_REST_URL/${_domain}/Records/$recordid" "" "DELETE")"
return 0;
return 0
}
#################### Private functions below ##################################
@ -127,4 +127,4 @@ _get_root() {
i=$(_math "$i" + 1)
done
return 1
}
}