From 6a8332b6067be155c80e832af08446eed8817685 Mon Sep 17 00:00:00 2001 From: Pramod Mahajan Date: Sat, 24 May 2025 17:26:20 +0530 Subject: [PATCH] modified url endpoint --- src/repositories/MastersRepository.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repositories/MastersRepository.jsx b/src/repositories/MastersRepository.jsx index 30af194b..d0148366 100644 --- a/src/repositories/MastersRepository.jsx +++ b/src/repositories/MastersRepository.jsx @@ -50,7 +50,7 @@ export const MasterRespository = { getContactCategory: () => api.get( `/api/master/contact-categories` ), createContactCategory: (data ) => api.post( `/api/master/contact-category`, data ), - updateContactCategory: ( id, data ) => api.post( `/api/master/contact-category/${ id }`, data ), + updateContactCategory: ( id, data ) => api.post( `/api/master/contact-category/edit/${ id }`, data ), getContactTag: () => api.get( `/api/master/contact-tags` ), createContactTag: (data ) => api.post( `/api/master/contact-tag`, data ),