Browse Source

Fix == issue

pull/3305/head
Arnoud Vermeer 5 years ago
parent
commit
39c6596321
  1. 2
      dnsapi/dns_pdns.sh

2
dnsapi/dns_pdns.sh

@ -207,7 +207,7 @@ _pdns_rest() {
export _H1="X-API-Key: $PDNS_Token"
if [ ! "$method" = "GET" ]; then
if [ "$method" == "PATCH" ]; then
if [ "$method" = "PATCH" ]; then
export _H2="Content-Type: application/json"
fi
_debug data "$data"

Loading…
Cancel
Save