mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-22 04:46:03 +03:00
pass parameter 'by' in payment edit method
This commit is contained in:
parent
a975815296
commit
c6d33b527a
@ -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[:])},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user