fix: скрыл инфу о активности ака и перестал выдавать рефреши если ак не активен
This commit is contained in:
1 parent
934682f035
commit
6eeacd80cc
11 files changed
+206
-8
No files matched your search
@@ -15,6 +15,18 @@ public record UserDto(
|
||||
DateTime CreatedAt
|
||||
);
|
||||
|
||||
public record CurrentUserDto(
|
||||
int Id,
|
||||
string Email,
|
||||
string? DisplayName,
|
||||
string? AvatarUrl,
|
||||
IReadOnlyList<UserRole> Roles,
|
||||
int Xp,
|
||||
int Coins,
|
||||
int Level,
|
||||
DateTime CreatedAt
|
||||
);
|
||||
|
||||
public record UserStatsDto(
|
||||
int TotalLectures,
|
||||
int AttendedLectures,
|
||||
|
||||
Reference in new issue
Block a user