Skip to content

Commit

Permalink
feat: 디스코드 관련 명칭 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
AlmondBreez3 committed Aug 14, 2024
1 parent 019ca34 commit 90846e6
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ public record StudyStudentResponse(
@Schema(description = "멤버 아이디") Long memberId,
@Schema(description = "학생 이름") String name,
@Schema(description = "학번") String studentId,
@Schema(description = "디스코드 사용자명") String discordName,
@Schema(description = "디스코드 닉네임") String discordUsername,
@Schema(description = "디스코드 사용자명") String discordUserName,
@Schema(description = "디스코드 닉네임") String nickname,
@Schema(description = "깃허브 링크") String githubLink) {
public static StudyStudentResponse from(StudyHistory studyHistory) {
return new StudyStudentResponse(
studyHistory.getMentee().getId(),
studyHistory.getMentee().getName(),
studyHistory.getMentee().getStudentId(),
studyHistory.getMentee().getDiscordId(),
studyHistory.getMentee().getDiscordUsername(),
studyHistory.getMentee().getNickname(),
studyHistory.getRepositoryLink());
}
}

0 comments on commit 90846e6

Please sign in to comment.