Bläddra i källkod

Constellix made changes to their API. They added more search capabilities, but the changes are not backwards compatible. We need to use the `exact` parameter instead of `name` now.

Wout 5 år sedan
förälder
incheckning
e158b5ccf6
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      dnsapi/dns_constellix.sh

+ 1 - 1
dnsapi/dns_constellix.sh

@@ -86,7 +86,7 @@ _get_root() {
       return 1
     fi
 
-    if ! _constellix_rest GET "domains/search?name=$h"; then
+    if ! _constellix_rest GET "domains/search?exact=$h"; then
       return 1
     fi