Skip to content

Commit

Permalink
[FIX] 변수명 명료하게 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
dragontaek-lee committed Feb 28, 2024
1 parent 2e6ec36 commit 887ddf4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public class AdminServiceImpl implements AdminService {
@Transactional
public SignUpResponse signUp(SignUpRequest request){
checkEmailDuplicated(request.email());
val entity = request.toEntity(passwordEncoder.encode(request.password()));
val admin = adminRepository.save(entity);
val adminEntity = request.toEntity(passwordEncoder.encode(request.password()));
val admin = adminRepository.save(adminEntity);
return SignUpResponse.of(admin);
}

Expand Down

0 comments on commit 887ddf4

Please sign in to comment.