Skip to content

Commit

Permalink
fix: valid 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
Woonseok105 committed Oct 24, 2023
1 parent 96f29e1 commit 9787912
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import org.springframework.web.bind.annotation.RequestBody
import org.springframework.web.bind.annotation.RequestMapping
import org.springframework.web.bind.annotation.ResponseStatus
import org.springframework.web.bind.annotation.RestController
import javax.validation.Valid as Valid

@RequestMapping("/user")
@RestController
Expand All @@ -37,7 +36,7 @@ class UserController(
userService.queryUserInfo()

@PutMapping("/profile")
fun updateUserInfo(@Valid @RequestBody request: UpdateUserInfoRequest) {
fun updateUserInfo(@RequestBody request: UpdateUserInfoRequest) {
userService.updateUserInfo(request)
}

Expand Down

0 comments on commit 9787912

Please sign in to comment.