From f5fb8db2c41239cf7444fbe9365987aaf8bced5a Mon Sep 17 00:00:00 2001 From: Nelson Dominguez Date: Mon, 9 Oct 2023 14:18:07 +0200 Subject: [PATCH] fix(orders): use correct req method in `getOrders` --- src/services/orders/orders-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/orders/orders-api.ts b/src/services/orders/orders-api.ts index ffeec40..dbb24bf 100644 --- a/src/services/orders/orders-api.ts +++ b/src/services/orders/orders-api.ts @@ -51,7 +51,7 @@ export class OrdersAPI extends BaseAPI { */ getOrders(filter: SearchOrdersRequest = {}): Promise { const url = getOrdersSearchURL(); - return this.httpClient.post(url, filter); + return this.httpClient.get(url, { params: filter }); } /**