File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export class LeaderboardService {
7474interface RawUserResult {
7575 id : string ;
7676 email : string | null ;
77- username : string | null ;
77+ username : string ;
7878 total_views : string ;
7979 total_likes : string ;
8080 total_posts : string ;
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import { BaseResponseDto } from '@/types/dto/responses/baseResponse.type';
1616 * nullable: true
1717 * username:
1818 * type: string
19- * nullable: true
2019 * description: 사용자 이름
2120 * totalViews:
2221 * type: integer
@@ -40,7 +39,7 @@ import { BaseResponseDto } from '@/types/dto/responses/baseResponse.type';
4039interface LeaderboardUser {
4140 id : string ;
4241 email : string | null ;
43- username : string | null ;
42+ username : string ;
4443 totalViews : number ;
4544 totalLikes : number ;
4645 totalPosts : number ;
You can’t perform that action at this time.
0 commit comments