1
0
mirror of https://github.com/hiskaNG/acme.sh.git synced 2026-08-11 16:33:02 +00:00

Merge pull request #573 from Neilpang/dev

Dev
This commit is contained in:
neil
2017-02-02 20:57:22 +08:00
committed by GitHub
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -0,0 +1 @@
#Using deploy api
+1 -1
View File
@@ -67,7 +67,7 @@ dns_lua_add() {
_debug "record_id" "$record_id"
_LUA_rest PUT "zones/$_domain_id/records/$record_id" "{\"id\":$record_id,\"type\":\"TXT\",\"name\":\"$fulldomain.\",\"content\":\"$txtvalue\",\"zone_id\":$_domain_id,\"ttl\":120}"
if [ "$?" = "0" ] && _contains "$response" "updated_at" ; then
if [ "$?" = "0" ] && _contains "$response" "updated_at"; then
_info "Updated!"
#todo: check if the record takes effect
return 0