Skip to content

Commit

Permalink
fix(customer): fix handling of pagination metadata (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-pochet authored Dec 10, 2024
1 parent ec5ecbc commit 6db98d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions customer.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ type CustomerParams struct {
type CustomerResult struct {
Customer *Customer `json:"customer"`
Customers []Customer `json:"customers,omitempty"`
Meta Metadata `json:"metadata,omitempty"`
Meta Metadata `json:"meta,omitempty"`
}

type CustomerUsageResult struct {
Expand All @@ -56,7 +56,7 @@ type CustomerUsageResult struct {

type CustomerPastUsageResult struct {
UsagePeriods []CustomerUsage `json:"usage_periods"`
Meta Metadata `json:"metadata"`
Meta Metadata `json:"meta"`
}

type CustomerPortalUrlResult struct {
Expand Down

0 comments on commit 6db98d4

Please sign in to comment.