From e016f5d037965c6d5b14b0d005952edfd8f00060 Mon Sep 17 00:00:00 2001 From: LukasWRN <127308232+LukasWRN@users.noreply.github.com> Date: Mon, 26 May 2025 19:45:58 +0200 Subject: [PATCH] Update dns_wts.sh --- dnsapi/dns_wts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dnsapi/dns_wts.sh b/dnsapi/dns_wts.sh index b76de4a6..c2aaf2c0 100644 --- a/dnsapi/dns_wts.sh +++ b/dnsapi/dns_wts.sh @@ -55,7 +55,7 @@ dns_wts_add() { # mkdir -p /tmp/acme-wts # echo "$TMP_RecordID" > "$TMP_RECORD_FILE" clean_domain="${fulldomain//\*/_wildcard_}" - _saveaccountconf_mutable "_WTS_RecordID_$clean_domain" "$TMP_RecordID" + _saveaccountconf_mutable "_WTS_RecordID" "$TMP_RecordID" _info "Saved TMP_RecordID=$TMP_RecordID" @@ -109,7 +109,7 @@ dns_wts_rm() { # fi clean_domain="${fulldomain//\*/_wildcard_}" - TMP_RecordID="$(_readaccountconf_mutable "_WTS_RecordID_$clean_domain")" + TMP_RecordID="$(_readaccountconf_mutable "_WTS_RecordID")" if [ -z "$TMP_RecordID" ]; then _err "TMP_RecordID not found. Cannot delete record."