From 0e0b746253d5e53e8dc26e0b8c859fa8a1c4a5ef Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Thu, 9 May 2024 18:19:00 +0800 Subject: [PATCH] fix: typo in error Signed-off-by: guoguangwu --- transferreversal/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transferreversal/client.go b/transferreversal/client.go index b11b7966a5..4c8bcfa298 100644 --- a/transferreversal/client.go +++ b/transferreversal/client.go @@ -54,7 +54,7 @@ func Get(id string, params *stripe.TransferReversalParams) (*stripe.TransferReve func (c Client) Get(id string, params *stripe.TransferReversalParams) (*stripe.TransferReversal, error) { if params == nil { return nil, fmt.Errorf( - "params cannnot be nil, and params.Transfer must be set", + "params cannot be nil, and params.Transfer must be set", ) } path := stripe.FormatURLPath(