Skip to content

Commit

Permalink
fix: correct additional data type on pricing request body
Browse files Browse the repository at this point in the history
  • Loading branch information
vitords committed Dec 20, 2024
1 parent 99bbff2 commit e2a5a10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client_pricegroups.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ type PricingRequestBody struct {
// Used by Idle fee. The maximum the user will be charged for the idle fee.
FeePriceMax *Price `json:"feePriceMax"`
// Used by spot price. Additional absolute money or percentages values to be added on top of the previous calculations.
Additional *Additional `json:"additional"`
Additional *[]Additional `json:"additional"`
// DateTime "from" time to which this pricing should apply from.
From *time.Time `json:"from"`
// DateTime "to" time to which this pricing should apply to
Expand Down

0 comments on commit e2a5a10

Please sign in to comment.