mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-09 16:01:46 +00:00
variable expansion consistency & actions push
This commit is contained in:
parent
b5f49d9563
commit
4f816c06b0
@ -146,14 +146,14 @@ _ultra_rest() {
|
|||||||
if [ -z "$AUTH_TOKEN" ]; then
|
if [ -z "$AUTH_TOKEN" ]; then
|
||||||
_ultra_login
|
_ultra_login
|
||||||
fi
|
fi
|
||||||
_debug TOKEN "${AUTH_TOKEN}"
|
_debug TOKEN "$AUTH_TOKEN"
|
||||||
|
|
||||||
export _H1="Content-Type: application/json"
|
export _H1="Content-Type: application/json"
|
||||||
export _H2="Authorization: Bearer ${AUTH_TOKEN}"
|
export _H2="Authorization: Bearer $AUTH_TOKEN"
|
||||||
|
|
||||||
if [ "$m" != "GET" ]; then
|
if [ "$m" != "GET" ]; then
|
||||||
_debug data "${data}"
|
_debug data "$data"
|
||||||
response="$(_post "${data}" "${ULTRA_API}${ep}" "" "${m}")"
|
response="$(_post "$data" "$ULTRA_API$ep" "" "$m")"
|
||||||
else
|
else
|
||||||
response="$(_get "$ULTRA_API$ep")"
|
response="$(_get "$ULTRA_API$ep")"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user