[fixed] - token service

This commit is contained in:
Swapnil Bendal
2024-12-23 19:33:08 +05:30
parent 41a60c0892
commit 2a3c211b56

View File

@@ -7,7 +7,7 @@ export const baseQuery = async (args, api, extraOptions) => {
baseUrl: import.meta.env.VITE_BAS_URL, baseUrl: import.meta.env.VITE_BAS_URL,
credentials: 'include', credentials: 'include',
prepareHeaders: (headers) => { prepareHeaders: (headers) => {
headers.set('Content-Type', 'application/json'); // headers.set('Content-Type', 'application/json');
return headers; return headers;
}, },
}); });