From b9f59140a7eacb3624be2d504dcafcc6dc6b31cd Mon Sep 17 00:00:00 2001 From: Sinh Date: Tue, 16 Apr 2024 11:07:14 +0700 Subject: [PATCH] feat(onpoint): change method get inventories --- partnerapi/onpoint/onpoint.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/partnerapi/onpoint/onpoint.go b/partnerapi/onpoint/onpoint.go index efc4ea9..b3a686d 100644 --- a/partnerapi/onpoint/onpoint.go +++ b/partnerapi/onpoint/onpoint.go @@ -175,7 +175,7 @@ func (c *Client) GetInventories(req ListInventoriesReq) (*ListInventoriesRes, er ResponseImmediately: true, Payload: model.HttpRequest{ URL: url, - Method: http.MethodPost, + Method: http.MethodGet, Query: q, }, }