From bc4f323f9d4840a5a2fde90184bad8caabd78be1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=95=EC=B1=84=EC=9D=80?= Date: Sun, 19 May 2024 05:06:45 +0900 Subject: [PATCH] =?UTF-8?q?Fix=20[#10]=20=EC=97=90=EB=9F=AC=20=EB=A9=94?= =?UTF-8?q?=EC=84=B8=EC=A7=80=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/sopt/jumpit/resume/service/ResumeService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jumpit/src/main/java/org/sopt/jumpit/resume/service/ResumeService.java b/jumpit/src/main/java/org/sopt/jumpit/resume/service/ResumeService.java index d343c9f..892fd9f 100644 --- a/jumpit/src/main/java/org/sopt/jumpit/resume/service/ResumeService.java +++ b/jumpit/src/main/java/org/sopt/jumpit/resume/service/ResumeService.java @@ -22,7 +22,7 @@ public void createResume( ResumeCreateRequest resumeCreateRequest ) { User findUser = userRepository.findById(resumeCreateRequest.userId()).orElseThrow( - () -> new BusinessException(ErrorMessage.SEARCH_FAILED) + () -> new BusinessException(ErrorMessage.USER_NOT_FOUND_BY_ID_EXCEPTION) ); Resume resume = Resume.create(findUser, resumeCreateRequest.title()); resumeRepository.save(resume);