Skip to content

Commit ecc97df

Browse files
committed
fix: remove hardcoded RM PG UI layout version
1 parent 53cd566 commit ecc97df

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/si3nloong/rm-go-client
1+
module github.com/wetix/rm-go-client
22

33
go 1.16
44

v3/payment_checkout.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ func (c *Client) CreatePaymentCheckout(
4545
ctx context.Context,
4646
req CreatePaymentCheckoutRequest,
4747
) (*CreatePaymentCheckoutResponse, error) {
48-
req.LayoutVersion = LayoutV3
4948
if req.Method == nil {
5049
req.Method = make([]PaymentMethod, 0)
5150
}

v3/v3.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const (
77
LayoutV1 layout = "v1"
88
LayoutV2 layout = "v2"
99
LayoutV3 layout = "v3"
10+
LayoutV4 layout = "v4"
1011
)
1112

1213
// types :

0 commit comments

Comments
 (0)