register update
This commit is contained in:
@@ -37,5 +37,6 @@ export const API_URLS = {
|
||||
Notification_Ready: (id: number) => `/api/notifications/${id}/read/`,
|
||||
Notification_Mark_All_Read: '/api/notifications/read-all/',
|
||||
Info: "/auth/get-person/",
|
||||
Get_Director_Info: "/auth/get-director/"
|
||||
Get_Director_Info: "/auth/get-director/",
|
||||
GetTokens: "/api/tokens/",
|
||||
};
|
||||
|
||||
@@ -82,7 +82,6 @@ httpClient.interceptors.response.use(
|
||||
// Original so'rovni qayta yuboramiz
|
||||
return httpClient(originalRequest);
|
||||
} catch (refreshError) {
|
||||
console.error('Refresh token xatosi:', refreshError);
|
||||
|
||||
// Refresh muvaffaqiyatsiz bo'lsa
|
||||
processQueue(refreshError);
|
||||
|
||||
Reference in New Issue
Block a user