Skip to content

Commit

Permalink
remove pointer of struct
Browse files Browse the repository at this point in the history
  • Loading branch information
edmarSoaress committed Feb 19, 2024
1 parent 2b853aa commit 3c3219d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/preference/request.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ type Request struct {
NotificationUrl string `json:"notification_url,omitempty"`
Purpose string `json:"purpose,omitempty"`
StatementDescriptor string `json:"statement_descriptor,omitempty"`
BinaryMode *bool `json:"binary_mode,omitempty"`
Expires *bool `json:"expires,omitempty"`
BinaryMode bool `json:"binary_mode,omitempty"`
Expires bool `json:"expires,omitempty"`
MarketplaceFee float64 `json:"marketplace_fee,omitempty"`
ProcessingModes []string `json:"processing_modes,omitempty"`
Metadata map[string]interface{} `json:"metadata,omitempty"`
Expand Down

0 comments on commit 3c3219d

Please sign in to comment.