Explorar o código

Export header _H3

Ivru %!s(int64=6) %!d(string=hai) anos
pai
achega
8e43b86f06
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dnsapi/dns_exoscale.sh

+ 1 - 1
dnsapi/dns_exoscale.sh

@@ -154,7 +154,7 @@ _exoscale_rest() {
   fi
 
   if [ "$data" ] || [ "$method" = "DELETE" ]; then
-    _H3="Content-Type: application/json"
+    export _H3="Content-Type: application/json"
     _debug data "$data"
     response="$(_post "$data" "$request_url" "" "$method")"
   else