From 64c42ae1fd1d9bfc6d39d3fc061e9f7a45859d24 Mon Sep 17 00:00:00 2001 From: Frosin Date: Fri, 9 Aug 2019 16:45:48 +0300 Subject: [PATCH] text correction --- v5/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v5/client.go b/v5/client.go index c3364fa..7cfe551 100644 --- a/v5/client.go +++ b/v5/client.go @@ -1320,8 +1320,8 @@ func (c *Client) OrdersFixExternalIds(orders []IdentifiersPair) (SuccessfulRespo // for _, value := range data.History { // fmt.Printf("%v\n", value) // } -func (c *Client) OrdersHistory(parameters OrdersHistoryRequest) (CustomersHistoryResponse, int, *errs.Failure) { - var resp CustomersHistoryResponse +func (c *Client) OrdersHistory(parameters OrdersHistoryRequest) (OrdersHistoryResponse, int, *errs.Failure) { + var resp OrdersHistoryResponse params, _ := query.Values(parameters)