Skip to content

Commit

Permalink
Merge pull request #73 from B9ND/feature/#70
Browse files Browse the repository at this point in the history
feat: add profileImage
  • Loading branch information
daedyu authored Oct 28, 2024
2 parents 90b1947 + 8922e70 commit 621624c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,13 @@ public UserResponse register(RegisterRequest user) {
.password(hashedPassword)
.nickname(user.getNickname())
.department(departmentRepository.findById(user.getDepartmentId()).orElse(null))
.profileImage("https://memoa-s3.s3.ap-northeast-2.amazonaws.com/profile.jpg")
.role(Role.ROLE_USER)
.build();

return UserResponse.fromUserEntity(userRepository.save(userEntity));
userRepository.save(userEntity);

return UserResponse.fromUserEntity(userEntity);
}

private void emailCheck(String email) {
Expand Down

0 comments on commit 621624c

Please sign in to comment.