File tree Expand file tree Collapse file tree 2 files changed +0
-46
lines changed
src/main/kotlin/com/msg/gauth/domain/user Expand file tree Collapse file tree 2 files changed +0
-46
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ import javax.validation.Valid
15
15
@RequestMapping(" /user" )
16
16
class UserController (
17
17
private val changePasswordService : ChangePasswordService ,
18
- private val uploadProfileService : UploadProfileService ,
19
18
private val getMyProfileService : GetMyProfileService ,
20
19
private val getAcceptedUsersService : GetAcceptedUsersService ,
21
20
private val acceptTeacherSignUpService : AcceptTeacherSignUpService ,
@@ -44,13 +43,6 @@ class UserController(
44
43
return ResponseEntity .noContent().build()
45
44
}
46
45
47
- @Deprecated(" This api is deprecated use uploadProfileURL instead" )
48
- @PatchMapping(" /image" )
49
- fun uploadProfile (@RequestPart(" image" ) image : MultipartFile ): ResponseEntity <Void > {
50
- uploadProfileService.execute(image)
51
- return ResponseEntity .noContent().build()
52
- }
53
-
54
46
@PatchMapping(" /profile" )
55
47
fun uploadProfileURL (@RequestParam(" image_url" ) imageURL : String ): ResponseEntity <Void > {
56
48
uploadProfileURLService.execute(imageURL)
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments