Skip to content

Commit

Permalink
fix : manager regisNum 추가 (#40)
Browse files Browse the repository at this point in the history
* feat : 리뷰 검색 기능 추가

* fix : LoginResponse 수정

* fix : manager regisNum 추가
  • Loading branch information
sebbbin authored Nov 23, 2023
1 parent 5f82bd8 commit 18ef362
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/kusitms/gallae/domain/User.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class User {

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

private String registrationNum;
private String registNum;

private String department; //담당 부서

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())
.registNum(user.getRegistrationNum())
.registNum(user.getRegistNum())
.point(user.getPoint())
.department(user.getDepartment())
.refreshToken(user.getRefreshToken())
Expand Down
1 change: 1 addition & 0 deletions src/main/java/kusitms/gallae/service/user/UserService.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public void registerNewManager(ManagerRegistratiorDto registrationDto) throws IO
.email(registrationDto.getEmail()) // 선택적 입력
.department(registrationDto.getDepartment())
.birth(registrationDto.getBirth())
.registNum(registrationDto.getRegistNum())
.refreshToken("") // 회원가입은 토큰 없음
.profileImageUrl(profileImageUrl) // 프로필 이미지 URL 추가
.signUpStatus(User.UserSignUpStatus.MANAGER)
Expand Down

0 comments on commit 18ef362

Please sign in to comment.