Merge branch 'main' of https://git.zeptic.in/rohit/Procurelinc into etenderMerge

This commit is contained in:
Abin Toppo
2026-01-08 11:31:21 +05:30
29 changed files with 2881 additions and 861 deletions
+1 -2
View File
@@ -20,7 +20,7 @@ export const apiCall = async <R, D = {}>(
data,
params,
// withCredentials: true,
baseURL: Variable.Main_Base,
// baseURL: Variable.Main_Base,
headers: {
Authentication: `Bearer ${token?.token}`,
'Content-Type': contentType || 'application/json',
@@ -31,7 +31,6 @@ export const apiCall = async <R, D = {}>(
} catch (error: any) {
const errorMessage = error?.response?.data?.error;
{ error?.response?.data?.error && showErrorAlert(error?.response?.data?.error || '') }
console.log(errorMessage, '---------------url error');
if (error?.response?.status === 401) {
store.dispatch(setToken({}));