Skip to content

Commit

Permalink
Merge pull request #71 from kookmin-sw/feat/resume-debug2
Browse files Browse the repository at this point in the history
fix: resume images put size 0 디버그
  • Loading branch information
KimChanJin97 authored May 13, 2024
2 parents ee5bb36 + 61b6f4a commit 865b5f7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ public ResumePostPutResponse putMyResume(
Member me = findMemberById(memberId);
Resume mine = findResumeByMember(me); // 영속 상태

if (request.images().size() == 0 || request.images() == null) {
throw new ResumeException(MUST_UPLOAD_ONE_IMAGE);
}

List<String> resumeImageS3urls = bucketService.updateResumeImages(request.images(), mine);

mine.setResumeImageS3urls(resumeImageS3urls); // dirty check
Expand Down

0 comments on commit 865b5f7

Please sign in to comment.