dnsmint: honour DNSMint_Api instead of overwriting it

The assignment was unconditional, so exporting DNSMint_Api did nothing - the
plugin reset it to the default every time it was sourced. Every neighbouring
plugin with an _Api variable treats it as an override; this one only looked
like it did.

Found while writing the dnsapi2 entry: the sentence documenting the override
would have been false.
This commit is contained in:
kxbnb
2026-09-10 06:56:49 -04:00 Unverified
parent 70923c738a
commit 4f361c8c4d
+1 -1
View File
@@ -12,7 +12,7 @@ Issues: github.com/dnsmint/acme.sh
Author: DNSMint
'
DNSMint_Api="https://dnsmint.com/api"
DNSMint_Api="${DNSMint_Api:-https://dnsmint.com/api}"
######## Public functions #####################