diff --git a/members.go b/members.go index 51b9fc5..5c0161b 100644 --- a/members.go +++ b/members.go @@ -35,7 +35,7 @@ type MemberRequest struct { Location *MemberLocation `json:"location,omitempty"` IPOpt string `json:"ip_opt,omitempty"` IPSignup string `json:"ip_signup,omitempty"` - Tags []string `json:"tags,omitempty"` + Tags []MemberTag `json:"tags,omitempty"` TimestampSignup string `json:"timestamp_signup,omitempty"` TimestampOpt string `json:"timestamp_opt,omitempty"` } diff --git a/segments.go b/segments.go index 60b2ae4..c8ba30d 100644 --- a/segments.go +++ b/segments.go @@ -23,7 +23,7 @@ type SegmentRequest struct { type Segment struct { SegmentRequest - ID string `json:"id"` + ID int `json:"id"` MemberCount int `json:"member_count"` Type string `json:"type"` CreatedAt string `json:"created_at"`