From c6d33b527a62b5442a22bb09af87da613e25e4c8 Mon Sep 17 00:00:00 2001 From: Daniel Weiser Date: Wed, 29 Jul 2020 17:26:45 +0300 Subject: [PATCH] pass parameter 'by' in payment edit method --- v5/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/v5/client.go b/v5/client.go index e7afc63..0fb463e 100644 --- a/v5/client.go +++ b/v5/client.go @@ -2489,6 +2489,7 @@ func (c *Client) OrderPaymentEdit(payment Payment, by string, site ...string) (S paymentJSON, _ := json.Marshal(&payment) p := url.Values{ + "by": context, "payment": {string(paymentJSON[:])}, }