feat: update to use v2 instance

This commit is contained in:
Yunus M 2024-10-28 20:09:08 +05:30
parent 5c02250aae
commit 42ac9ab6fe

View File

@ -175,12 +175,12 @@ export const GatewayApiV2Instance = axios.create({
baseURL: `${ENVIRONMENT.baseURL}${gatewayApiV2}`,
});
GatewayApiV1Instance.interceptors.response.use(
GatewayApiV2Instance.interceptors.response.use(
interceptorsResponse,
interceptorRejected,
);
GatewayApiV1Instance.interceptors.request.use(interceptorsRequestResponse);
GatewayApiV2Instance.interceptors.request.use(interceptorsRequestResponse);
//
AxiosAlertManagerInstance.interceptors.response.use(