Skip to content

Commit

Permalink
feat(plan-override): Add plan to subscription response
Browse files Browse the repository at this point in the history
  • Loading branch information
rsempe committed Oct 25, 2023
1 parent 1a06e5a commit a8ba8de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions subscription.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ type Subscription struct {
NextPlanCode string `json:"next_plan_code"`
DowngradePlanDate string `json:"downgrade_plan_date"`

Plan *Plan `json:"plan,omitempty"`

CreatedAt *time.Time `json:"created_at"`
StartedAt *time.Time `json:"started_at"`
CanceledAt *time.Time `json:"canceled_at"`
Expand Down

0 comments on commit a8ba8de

Please sign in to comment.