mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-11 02:42:47 +00:00
Incorrect variable
One variable replacement missed, remove refs to domain_id which isn't used.
This commit is contained in:
parent
db5334cc0c
commit
cad35f1567
@ -39,7 +39,6 @@ dns_pointhq_add() {
|
|||||||
_err "invalid domain"
|
_err "invalid domain"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_debug _domain_id "$_domain_id"
|
|
||||||
_debug _sub_domain "$_sub_domain"
|
_debug _sub_domain "$_sub_domain"
|
||||||
_debug _domain "$_domain"
|
_debug _domain "$_domain"
|
||||||
|
|
||||||
@ -77,7 +76,6 @@ dns_pointhq_rm() {
|
|||||||
_err "invalid domain"
|
_err "invalid domain"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
_debug _domain_id "$_domain_id"
|
|
||||||
_debug _sub_domain "$_sub_domain"
|
_debug _sub_domain "$_sub_domain"
|
||||||
_debug _domain "$_domain"
|
_debug _domain "$_domain"
|
||||||
|
|
||||||
@ -111,7 +109,6 @@ dns_pointhq_rm() {
|
|||||||
#returns
|
#returns
|
||||||
# _sub_domain=_acme-challenge.www
|
# _sub_domain=_acme-challenge.www
|
||||||
# _domain=domain.com
|
# _domain=domain.com
|
||||||
# _domain_id=sdjkglgdfewsdfg
|
|
||||||
_get_root() {
|
_get_root() {
|
||||||
domain=$1
|
domain=$1
|
||||||
i=2
|
i=2
|
||||||
@ -145,7 +142,7 @@ _pointhq_rest() {
|
|||||||
data="$3"
|
data="$3"
|
||||||
_debug "$ep"
|
_debug "$ep"
|
||||||
|
|
||||||
_pointhq_auth=$(printf "%s:%s" "$PointHQ_Username" "$PointHQ_Key" | _base64)
|
_pointhq_auth=$(printf "%s:%s" "$PointHQ_Email" "$PointHQ_Key" | _base64)
|
||||||
|
|
||||||
export _H1="Authorization: Basic $_pointhq_auth"
|
export _H1="Authorization: Basic $_pointhq_auth"
|
||||||
export _H2="Content-Type: application/json"
|
export _H2="Content-Type: application/json"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user