Skip to content

Commit cef44ab

Browse files
committed
Add domain ID and fix up count type
1 parent b3f8cf3 commit cef44ab

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎domains.go‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ type Domain struct {
2323
// The verification state of the Return-Path domain. Tells you if the Return-Path is actively being used or still
2424
// needs further action to be used.
2525
ReturnPathDomainVerified bool `json:"ReturnPathDomainVerified"`
26+
// Unique ID of the Domain.
27+
ID int64
2628
}
2729

2830
// DomainDetails contains the full details of a domain in Postmark. https://postmarkapp.com/developer/api/domains-api
@@ -101,7 +103,7 @@ type DomainsList struct {
101103
}
102104

103105
// GetDomains gets a list of domains, limited by count and paged by offset
104-
func (client *Client) GetDomains(ctx context.Context, count, offset int64) (DomainsList, error) {
106+
func (client *Client) GetDomains(ctx context.Context, count, offset int) (DomainsList, error) {
105107
res := DomainsList{}
106108

107109
values := &url.Values{}

0 commit comments

Comments
 (0)
⌂ 换网址