From 887ddf49913b18a8e5aa1ae27dde2ea8e87999b2 Mon Sep 17 00:00:00 2001 From: dragontaek-lee Date: Wed, 28 Feb 2024 21:33:26 +0900 Subject: [PATCH] =?UTF-8?q?[FIX]=20=EB=B3=80=EC=88=98=EB=AA=85=20=EB=AA=85?= =?UTF-8?q?=EB=A3=8C=ED=95=98=EA=B2=8C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../makers/operation/web/admin/service/AdminServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/operation-api/src/main/java/org/sopt/makers/operation/web/admin/service/AdminServiceImpl.java b/operation-api/src/main/java/org/sopt/makers/operation/web/admin/service/AdminServiceImpl.java index 07c25816..e775cfd9 100644 --- a/operation-api/src/main/java/org/sopt/makers/operation/web/admin/service/AdminServiceImpl.java +++ b/operation-api/src/main/java/org/sopt/makers/operation/web/admin/service/AdminServiceImpl.java @@ -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); }