浏览代码

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 年之前
父节点
当前提交
e158b5ccf6
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      dnsapi/dns_constellix.sh

+ 1 - 1
dnsapi/dns_constellix.sh

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