diff --git a/src/main/kotlin/kr/hs/dsm/inq/domain/user/presentation/UserController.kt b/src/main/kotlin/kr/hs/dsm/inq/domain/user/presentation/UserController.kt index 8d8e922..1ac3e5e 100644 --- a/src/main/kotlin/kr/hs/dsm/inq/domain/user/presentation/UserController.kt +++ b/src/main/kotlin/kr/hs/dsm/inq/domain/user/presentation/UserController.kt @@ -14,7 +14,7 @@ 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 VValid +import javax.validation.Valid @RequestMapping("/user") @RestController @@ -37,7 +37,7 @@ class UserController( userService.queryUserInfo() @PutMapping("/profile") - fun updateUserInfo(@VValid @RequestBody request: UpdateUserInfoRequest) { + fun updateUserInfo(@Valid @RequestBody request: UpdateUserInfoRequest) { userService.updateUserInfo(request) }