fix invalid zone with cloudflare DNS API

This commit is contained in:
ozgunawesome 2023-07-10 15:49:41 -07:00
parent b7caf7a016
commit 26a8f03051

View File

@ -162,7 +162,7 @@ _get_root() {
p=1 p=1
# Use Zone ID directly if provided # Use Zone ID directly if provided
if [ "$CF_Zone_ID" ]; then if [ -z "$CF_Zone_ID" ]; then
if ! _cf_rest GET "zones/$CF_Zone_ID"; then if ! _cf_rest GET "zones/$CF_Zone_ID"; then
return 1 return 1
else else