mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
fix shellcheck warnings.
This commit is contained in:
parent
e9f9f515bd
commit
69925ce823
@ -189,7 +189,7 @@ _rest() {
|
|||||||
_H4="Content-Type: application/json"
|
_H4="Content-Type: application/json"
|
||||||
|
|
||||||
if [ "$data" ]; then
|
if [ "$data" ]; then
|
||||||
response="$(_post "$data" "$url" "" $m)"
|
response="$(_post "$data" "$url" "" "$m")"
|
||||||
else
|
else
|
||||||
response="$(_get "$url")"
|
response="$(_get "$url")"
|
||||||
fi
|
fi
|
||||||
|
@ -102,7 +102,7 @@ _gd_rest() {
|
|||||||
|
|
||||||
if [ "$data" ]; then
|
if [ "$data" ]; then
|
||||||
_debug data "$data"
|
_debug data "$data"
|
||||||
response="$(_post "$data" "$GD_Api/$ep" "" $m)"
|
response="$(_post "$data" "$GD_Api/$ep" "" "$m")"
|
||||||
else
|
else
|
||||||
response="$(_get "$GD_Api/$ep")"
|
response="$(_get "$GD_Api/$ep")"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user