Skip to content

Commit

Permalink
fix: transferLock and noDelegation types
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Sep 7, 2023
1 parent 073f789 commit 64a0a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ type DomainInfoResponse struct {
UpDate time.Time `mapstructure:"upDate"`
ReDate time.Time `mapstructure:"reDate"`
ScDate time.Time `mapstructure:"scDate"`
TransferLock int `mapstructure:"transferLock"`
TransferLock bool `mapstructure:"transferLock"`
Status string `mapstructure:"status"`
AuthCode string `mapstructure:"authCode"`
RenewalMode string `mapstructure:"renewalMode"`
Expand All @@ -289,7 +289,7 @@ type DomainInfoResponse struct {
Tech int `mapstructure:"tech"`
Billing int `mapstructure:"billing"`
Nameservers []string `mapstructure:"ns"`
NoDelegation int `mapstructure:"noDelegation"`
NoDelegation bool `mapstructure:"noDelegation"`
Contacts map[string]Contact `mapstructure:"contact"`
}

Expand Down

0 comments on commit 64a0a5b

Please sign in to comment.