pass parameter 'by' in payment edit method

This commit is contained in:
Daniel Weiser 2020-07-29 17:26:45 +03:00
parent a975815296
commit c6d33b527a

View File

@ -2489,6 +2489,7 @@ func (c *Client) OrderPaymentEdit(payment Payment, by string, site ...string) (S
paymentJSON, _ := json.Marshal(&payment) paymentJSON, _ := json.Marshal(&payment)
p := url.Values{ p := url.Values{
"by": context,
"payment": {string(paymentJSON[:])}, "payment": {string(paymentJSON[:])},
} }