TP-81612 | Houston hotfix (#1107)

* TP-81612 | houston hotfix

* TP-81612 | houston hotfix prettier

* TP-81612 | houston hotfix prettier
This commit is contained in:
Ashish Deo
2024-09-09 16:57:06 +05:30
committed by GitHub
parent d00732f4e7
commit 850b2a6f96
3 changed files with 6 additions and 2 deletions

View File

@@ -59,6 +59,8 @@ export const feedbackFormUrl =
export const LITMUS_URL = 'https://longhorn.navi.com/litmus';
export const LONGHORN_URL = 'http://longhorn.navi.com/new/';
export const setLonghornSessionVerifier = (verifier?: string) => {
if (!verifier) {
// not storing in LocalStorage since it is creating cyclic dependency issue

View File

@@ -60,6 +60,7 @@ export const setCallStatus = (
callId: accountNumber,
providerCallReferenceId: crtObjectId
});
dispatch(setCallId(accountNumber));
axiosInstance
.get(url, { headers: { donotHandleError: true }, timeout: HRC_API_TIMEOUT })
.then(response => {
@@ -83,7 +84,7 @@ export const setCallStatus = (
);
dispatch(setHumanReminderCustomerDetails({ humanReminderResponse: response.data.body }));
dispatch(setHumanReminderCustomerDetailsLoading(false));
dispatch(setCallId(accountNumber));
dispatch(setReminderRefId(response.data.body?.reminderRefId));
dispatch(setInteractionRefId(response.data.body?.interactionRefId));
}

View File

@@ -2,9 +2,10 @@ import Button from '@primitives/Button/Button';
import RefreshIcon from '@icons/RefreshIcon/RefreshIcon';
import Typography from '@primitives/Typography/Typography';
import styles from './index.module.scss';
import { LONGHORN_URL } from '@cp/src/constants/Global';
const handleOnClick = () => {
window.location.reload();
window.location.href = LONGHORN_URL;
};
function Footer() {