Skip to content

Commit

Permalink
fix: remove hardcoded RM PG UI layout version
Browse files Browse the repository at this point in the history
  • Loading branch information
bassemsab committed Jan 1, 2024
1 parent 53cd566 commit ecc97df
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/si3nloong/rm-go-client
module github.com/wetix/rm-go-client

go 1.16

Expand Down
1 change: 0 additions & 1 deletion v3/payment_checkout.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ func (c *Client) CreatePaymentCheckout(
ctx context.Context,
req CreatePaymentCheckoutRequest,
) (*CreatePaymentCheckoutResponse, error) {
req.LayoutVersion = LayoutV3
if req.Method == nil {
req.Method = make([]PaymentMethod, 0)
}
Expand Down
1 change: 1 addition & 0 deletions v3/v3.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const (
LayoutV1 layout = "v1"
LayoutV2 layout = "v2"
LayoutV3 layout = "v3"
LayoutV4 layout = "v4"
)

// types :
Expand Down

0 comments on commit ecc97df

Please sign in to comment.