Compare commits
No commits in common. "9a0482071ab74678e50dace679f4893773e10357" and "cdc52ae947bb5196ab98351f3c226ba4aa42ab70" have entirely different histories.
9a0482071a
...
cdc52ae947
@ -52,11 +52,7 @@ const useMaster = (isMa) => {
|
|||||||
response = response.data
|
response = response.data
|
||||||
break;
|
break;
|
||||||
case "Contact Category":
|
case "Contact Category":
|
||||||
response = await MasterRespository.getContactCategory();
|
response = await MasterRespository.getContactCategory()
|
||||||
response = response.data
|
|
||||||
break;
|
|
||||||
case "Contact Tag":
|
|
||||||
response = await MasterRespository.getContactTag();
|
|
||||||
response = response.data
|
response = response.data
|
||||||
break;
|
break;
|
||||||
case "Status":
|
case "Status":
|
||||||
|
|||||||
@ -52,7 +52,7 @@ export const MasterRespository = {
|
|||||||
createContactCategory: (data ) => api.post( `/api/master/contact-category`, data ),
|
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/${ id }`, data ),
|
||||||
|
|
||||||
getContactTag: () => api.get( `/api/master/contact-tags` ),
|
getContactTag: () => api.get( `/api/master/contact-tag` ),
|
||||||
createContactTag: (data ) => api.post( `/api/master/contact-tag`, data ),
|
createContactTag: (data ) => api.post( `/api/master/contact-tag`, data ),
|
||||||
updateContactTag: ( id, data ) => api.post( `/api/master/contact-tag/${ id }`, data )
|
updateContactTag: ( id, data ) => api.post( `/api/master/contact-tag/${ id }`, data )
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user