Skip to content

Commit

Permalink
Allow creating domains without an IP address.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewsomething committed Jun 28, 2018
1 parent a350561 commit 5fe4b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion domains.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ type domainsRoot struct {
// DomainCreateRequest respresents a request to create a domain.
type DomainCreateRequest struct {
Name string `json:"name"`
IPAddress string `json:"ip_address"`
IPAddress string `json:"ip_address,omitempty"`
}

// DomainRecordRoot is the root of an individual Domain Record response
Expand Down

0 comments on commit 5fe4b14

Please sign in to comment.