fix: скрыл инфу о активности ака и перестал выдавать рефреши если ак не активен
This commit is contained in:
@@ -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