File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ dns_nanelo_add() {
3636 _debug _domain " $_domain "
3737
3838 _info " Adding TXT record to ${fulldomain} "
39- response=" $( _get " $NANELO_API$NANELO_TOKEN /dns/addrecord?domain=${_domain} &type=TXT&ttl=60&name=${_sub_domain} &value=${txtvalue} " ) "
39+ response=" $( _post " " " $NANELO_API$NANELO_TOKEN /dns/addrecord?domain=${_domain} &type=TXT&ttl=60&name=${_sub_domain} &value=${txtvalue} " " " " " " " ) "
4040 if _contains " ${response} " ' success' ; then
4141 return 0
4242 fi
@@ -68,7 +68,7 @@ dns_nanelo_rm() {
6868 _debug _domain " $_domain "
6969
7070 _info " Deleting resource record $fulldomain "
71- response=" $( _get " $NANELO_API$NANELO_TOKEN /dns/deleterecord?domain=${_domain} &type=TXT&ttl=60&name=${_sub_domain} &value=${txtvalue} " ) "
71+ response=" $( _post " " " $NANELO_API$NANELO_TOKEN /dns/deleterecord?domain=${_domain} &type=TXT&ttl=60&name=${_sub_domain} &value=${txtvalue} " " " " " " " ) "
7272 if _contains " ${response} " ' success' ; then
7373 return 0
7474 fi
You can’t perform that action at this time.
0 commit comments