Skip to content

Commit

Permalink
fix : LoginResponse 수정 (#37)
Browse files Browse the repository at this point in the history
* feat : 리뷰 검색 기능 추가

* fix : LoginResponse 수정
  • Loading branch information
sebbbin authored Nov 22, 2023
1 parent 76fd537 commit 069631d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/java/kusitms/gallae/dto/user/LoginResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class LoginResponse {

private String nickName; //기업이면 이게 기관명

private String registrationNum;
private String registNum;

private String department; //담당 부서

Expand All @@ -36,7 +36,7 @@ public class LoginResponse {
private String refreshToken;

@Builder
public LoginResponse(Long id, String name,String department,String registrationNum,
public LoginResponse(Long id, String name,String department,String registNum,
String loginId, String phoneNumber, String nickName, String email, Long point, LocalDate birth,
String imageUrl, String accessToken, String refreshToken, String role) {
this.id = id;
Expand All @@ -50,7 +50,7 @@ public LoginResponse(Long id, String name,String department,String registrationN
this.refreshToken = refreshToken;
this.role = role;
this.department = department;
this.registrationNum = registrationNum;
this.registNum = registNum;
this.point = point;
this.birth = birth;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public LoginResponse login(LoginRequestDto loginRequestDto, HttpServletResponse
.name(user.getName())
.accessToken(accessToken)
.birth(user.getBirth())
.registrationNum(user.getRegistrationNum())
.registNum(user.getRegistrationNum())
.point(user.getPoint())
.department(user.getDepartment())
.refreshToken(user.getRefreshToken())
Expand Down

0 comments on commit 069631d

Please sign in to comment.