fix: скрыл инфу о активности ака и перестал выдавать рефреши если ак не активен
This commit is contained in:
1 parent
934682f035
commit
6eeacd80cc
11 files changed
+206
-8
No files matched your search
@@ -16,6 +16,7 @@ import type {
|
||||
SyncStatusDto,
|
||||
TagDto,
|
||||
UserAchievementDto,
|
||||
CurrentUserDto,
|
||||
UserDto,
|
||||
UserQuery,
|
||||
UserNotificationDto,
|
||||
@@ -30,7 +31,7 @@ export const authApi = {
|
||||
}),
|
||||
refresh: () => apiRequest<AuthResponse>('/auth/refresh', { method: 'POST' }),
|
||||
logout: () => apiRequest<void>('/auth/logout', { method: 'POST' }),
|
||||
me: () => apiRequest<UserDto>('/auth/me'),
|
||||
me: () => apiRequest<CurrentUserDto>('/auth/me'),
|
||||
}
|
||||
|
||||
export const lecturesApi = {
|
||||
|
||||
Reference in new issue
Block a user