Remove leading space from https://api.ote-godaddy.com endpoint.

This commit is contained in:
Xueshan Feng 2022-09-24 23:43:43 -07:00
parent cc82c6b727
commit 3ee55f2f51

View File

@ -105,7 +105,7 @@ func NewClient(useOTE bool, apiKey, apiSecret string) (*Client, error) {
var endpoint string var endpoint string
if useOTE { if useOTE {
endpoint = " https://api.ote-godaddy.com" endpoint = "https://api.ote-godaddy.com"
} else { } else {
endpoint = "https://api.godaddy.com" endpoint = "https://api.godaddy.com"
} }