mirror of
https://github.com/retailcrm/api-client-go.git
synced 2024-11-21 20:36: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)
|
||||
|
||||
p := url.Values{
|
||||
"by": context,
|
||||
"payment": {string(paymentJSON[:])},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user