Fix == issue
This commit is contained in:
parent
c51aa7a91d
commit
39c6596321
@ -207,7 +207,7 @@ _pdns_rest() {
|
|||||||
export _H1="X-API-Key: $PDNS_Token"
|
export _H1="X-API-Key: $PDNS_Token"
|
||||||
|
|
||||||
if [ ! "$method" = "GET" ]; then
|
if [ ! "$method" = "GET" ]; then
|
||||||
if [ "$method" == "PATCH" ]; then
|
if [ "$method" = "PATCH" ]; then
|
||||||
export _H2="Content-Type: application/json"
|
export _H2="Content-Type: application/json"
|
||||||
fi
|
fi
|
||||||
_debug data "$data"
|
_debug data "$data"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user