Merge ac212997dd9684a33e0311ac8717133efd9d7735 into 9b267bb5725eca0b2b8f34682aca89f5d3fbcb5e

This commit is contained in:
Andrew V. 2025-04-20 22:34:11 +02:00 committed by GitHub
commit e28d1033ec
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,6 +50,9 @@ dns_pdns_add() {
PDNS_Ttl="$DEFAULT_PDNS_TTL"
fi
# Ensure PDNS_Url has no trailing slash ('/')
PDNS_Url="${PDNS_Url%/}"
#save the api addr and key to the account conf file.
_saveaccountconf_mutable PDNS_Url "$PDNS_Url"
_saveaccountconf_mutable PDNS_ServerId "$PDNS_ServerId"