refactor(actions): adopt endpoint client in portal involvement helpers
This commit is contained in:
@@ -288,8 +288,7 @@ export const setRepInvolvment = async (caseid, contactid) => {
|
||||
};
|
||||
|
||||
try {
|
||||
const res = await axios(config);
|
||||
return res.data;
|
||||
return await requestJson(config);
|
||||
} catch (error) {
|
||||
consoleLogger(error);
|
||||
}
|
||||
@@ -306,8 +305,7 @@ export const setCaseInvolvment = async (caseid, contactid) => {
|
||||
};
|
||||
|
||||
try {
|
||||
const res = await axios(config);
|
||||
return res.data;
|
||||
return await requestJson(config);
|
||||
} catch (error) {
|
||||
consoleLogger(error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user