Skip to content

Commit

Permalink
fix :: unresolved member, multipart files
Browse files Browse the repository at this point in the history
  • Loading branch information
esperar committed Sep 24, 2024
1 parent dca2023 commit 7de7f65
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ class UpdateProfileImageServiceImpl(
private val CACHE_KEY = "memberList"

override fun execute(multipartFiles: MultipartFile?) {
val member: Member = userUtil.fetchCurrentUser()
val member = userUtil.fetchCurrentUser()
profileImageService.imageUpload(member = member, multipartFiles = multipartFiles)
initCache()
initCache(member, multipartFiles)
}

private fun initCache() {
private fun initCache(member: Member, multipartFiles: MultipartFile?) {
val cachedData =
redisCacheService.getFromCache(CACHE_KEY) as? FindAllStudentListResDto

Expand Down

0 comments on commit 7de7f65

Please sign in to comment.