diff --git a/src/user/dto/get-profile-response.dto.ts b/src/user/dto/get-profile-response.dto.ts index 5b7d282d..54765dca 100644 --- a/src/user/dto/get-profile-response.dto.ts +++ b/src/user/dto/get-profile-response.dto.ts @@ -5,8 +5,8 @@ import { CharacterType } from 'src/enums/character-type.enum'; import { Language } from 'src/enums/language'; export class GetProfileResponseDto { - @ApiProperty({ description: '본명' }) - name: string; + @ApiProperty({ description: '유저아이디' }) + username: string; @ApiProperty({ description: '국적' }) country: string; @@ -43,7 +43,7 @@ export class GetProfileResponseDto { selectedLevel: number; constructor(user: UserEntity, character: CharacterEntity) { - this.name = user.name; + this.username = user.username; this.country = user.country; this.homeUniversity = user.homeUniversity; this.major = user.major; diff --git a/src/user/dto/set-profile-request.dto.ts b/src/user/dto/set-profile-request.dto.ts index dcab1b78..d2ba239d 100644 --- a/src/user/dto/set-profile-request.dto.ts +++ b/src/user/dto/set-profile-request.dto.ts @@ -4,8 +4,8 @@ import { IsDate, IsNotEmpty, IsOptional, IsString } from 'class-validator'; export class SetProfileRequestDto { @IsOptional() @IsString() - @ApiProperty({ description: '본명' }) - name: string; + @ApiProperty({ description: '유저아이디' }) + username: string; @IsOptional() @IsString()