Skip to content

Commit

Permalink
refactor :: 공통 이미지 업로드 메서드 호출시 isUpdate 파라미터 named arguments 방식으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
tlsgmltjd committed Jul 3, 2024
1 parent 01cdebe commit 3b27c6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ class UpdateProfileImageServiceImpl(
): UpdateProfileImageService {
override fun execute(multipartFiles: MultipartFile?) {
val member: Member = userUtil.fetchCurrentUser()
profileImageService.imageUpload(member, multipartFiles, true)
profileImageService.imageUpload(member, multipartFiles, isUpdate = true)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ class UploadProfileImageServiceImpl(
): UploadProfileImageService {
override fun execute(multipartFiles: MultipartFile?) {
val member: Member = userUtil.fetchCurrentUser()
profileImageService.imageUpload(member, multipartFiles, false)
profileImageService.imageUpload(member, multipartFiles, isUpdate = false)
}
}

0 comments on commit 3b27c6e

Please sign in to comment.