From c5fcceb261ce3a937b1e3368f29a0c091d152e14 Mon Sep 17 00:00:00 2001 From: "arun.patidar" Date: Fri, 20 Dec 2024 12:09:37 +0530 Subject: [PATCH] For productStore Setting used method type post for updating and creating store settings. --- src/services/ProductStoreService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/ProductStoreService.ts b/src/services/ProductStoreService.ts index 5db13c7..ca5d2f3 100644 --- a/src/services/ProductStoreService.ts +++ b/src/services/ProductStoreService.ts @@ -86,7 +86,7 @@ const updateCompany = async (payload: any): Promise => { const updateCurrentStoreSettings = async (payload: any): Promise => { return api({ url: `productStores/${payload.productStoreId}/settings`, - method: "put", + method: "post", data: payload }); }