Skip to content

Commit

Permalink
Update dns_west_cn.sh
Browse files Browse the repository at this point in the history
Signed-off-by: mrbaiwei <[email protected]>
mrbaiwei committed Nov 6, 2023
1 parent eb99803 commit bea71f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnsapi/dns_west_cn.sh
Original file line number Diff line number Diff line change
@@ -72,7 +72,7 @@ add_record() {

_info "Adding record"

if ! _rest POST "domain/dns/" "act=dnsrec.add&username=$WEST_Username&apikey=$WEST_Key&domain=$fulldomain&hostname=$fulldomain&record_type=TXT&value=$txtvalue"; then
if ! _rest POST "domain/dns/" "act=dnsrec.add&username=$WEST_Username&apikey=$WEST_Key&domain=$fulldomain&hostname=$fulldomain&record_type=TXT&record_value=$txtvalue"; then
return 1
fi

0 comments on commit bea71f3

Please sign in to comment.