Browse Source
Style issues and orphan _postContentType debug fix
Fixed spacing and removed unneeded debug for _postContenetType
shebang
Bill Gertz
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
6 deletions
-
dnsapi/dns_miab.sh
|
|
@ -91,9 +91,9 @@ dns_miab_rm() { |
|
|
|
fi |
|
|
|
|
|
|
|
#save the credentials to the account conf file. |
|
|
|
_saveaccountconf_mutable MIAB_Username "$MIAB_Username" |
|
|
|
_saveaccountconf_mutable MIAB_Password "$MIAB_Password" |
|
|
|
_saveaccountconf_mutable MIAB_Server "$MIAB_Server" |
|
|
|
_saveaccountconf_mutable MIAB_Username "$MIAB_Username" |
|
|
|
_saveaccountconf_mutable MIAB_Password "$MIAB_Password" |
|
|
|
_saveaccountconf_mutable MIAB_Server "$MIAB_Server" |
|
|
|
|
|
|
|
baseurl="https://$MIAB_Server/admin/dns/custom/$fulldomain/txt" |
|
|
|
|
|
|
@ -130,7 +130,6 @@ _miab_post() { |
|
|
|
_debug $httpmethod |
|
|
|
_debug "_post_url" "$_post_url" |
|
|
|
_debug2 "body" "$body" |
|
|
|
_debug2 "_postContentType" "$_postContentType" |
|
|
|
|
|
|
|
_inithttp |
|
|
|
|
|
|
|