diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 26f8def..2542264 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-24.04 strategy: matrix: - go: ['1.22', '1.23'] + go: ['1.23'] steps: - uses: actions/checkout@v4 with: diff --git a/subscriber.go b/subscriber.go index 9d097c3..790c2ef 100644 --- a/subscriber.go +++ b/subscriber.go @@ -12,13 +12,13 @@ type SubscriberResponse struct { } type Subscriber struct { - Entitlements map[string]Entitlement `json:"entitlements"` - FirstSeen time.Time `json:"first_seen"` - LastSeen time.Time `json:"last_seen"` - ManagementURL null.String `json:"management_url"` - OriginalAppUserID null.String `json:"original_app_user_id"` - Subscriptions map[string]Subscription `json:"subscriptions"` - NonSubscription map[string]NonSubscription `json:"non_subscriptions"` + Entitlements map[string]Entitlement `json:"entitlements"` + FirstSeen time.Time `json:"first_seen"` + LastSeen time.Time `json:"last_seen"` + ManagementURL null.String `json:"management_url"` + OriginalAppUserID null.String `json:"original_app_user_id"` + Subscriptions map[string]Subscription `json:"subscriptions"` + NonSubscription map[string][]NonSubscription `json:"non_subscriptions"` } type Entitlement struct {