We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8f252e + 92d37f6 commit 58cad98Copy full SHA for 58cad98
dnsapi/dns_porkbun.sh
@@ -139,7 +139,7 @@ _porkbun_rest() {
139
api_key_trimmed=$(echo "$PORKBUN_API_KEY" | tr -d '"')
140
secret_api_key_trimmed=$(echo "$PORKBUN_SECRET_API_KEY" | tr -d '"')
141
142
- test -z "$data" && data="{" || data="$(echo $data | cut -d'}' -f1),"
+ test -z "$data" && data="{" || data="$(echo "$data" | cut -d'}' -f1),"
143
data="$data\"apikey\":\"$api_key_trimmed\",\"secretapikey\":\"$secret_api_key_trimmed\"}"
144
145
export _H1="Content-Type: application/json"
0 commit comments