Skip to content

Commit

Permalink
📝 :: Docs에 맞게 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
gurdl0525 committed Nov 15, 2023
1 parent 724c397 commit db56264
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ interface UserService {

fun postTheme(id: String)

fun changeFilter(onFiltering: Boolean)
fun changeFilter(onFiltering: Boolean): UserProfileResponse
}
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ class UserServiceImpl(
}

@Transactional
override fun changeFilter(onFiltering: Boolean) {
override fun changeFilter(onFiltering: Boolean): UserProfileResponse {
val user = userFacade.getCurrentUser()

userRepository.save(
return userRepository.save(
User(
user.sub,
user.name,
Expand All @@ -63,6 +63,6 @@ class UserServiceImpl(
user.role,
onFiltering
)
)
).toResponse()
}
}

0 comments on commit db56264

Please sign in to comment.