Merge db1e5e68d5 into f8526f027c
This commit is contained in:
commit
e52a42c6d1
@ -152,7 +152,7 @@ _get_records() {
|
|||||||
sub_domain=$3
|
sub_domain=$3
|
||||||
|
|
||||||
_debug "fetching txt records"
|
_debug "fetching txt records"
|
||||||
_dnsimple_rest GET "$account_id/zones/$domain/records?per_page=100"
|
_dnsimple_rest GET "$account_id/zones/$domain/records?per_page=100&sort=id:desc"
|
||||||
|
|
||||||
if ! _contains "$response" "\"id\":"; then
|
if ! _contains "$response" "\"id\":"; then
|
||||||
_err "failed to retrieve records"
|
_err "failed to retrieve records"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user