Skip to content

Commit 3884b78

Browse files
authored
Merge pull request #303 from GSM-MSG/302-not-used-profile-upload-api-delete
🔀 :: 쓰이지 않는 프로필 업로드 api 삭제
2 parents fcc1cca + f70e53c commit 3884b78

File tree

2 files changed

+0
-46
lines changed

2 files changed

+0
-46
lines changed

src/main/kotlin/com/msg/gauth/domain/user/presentation/UserController.kt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import javax.validation.Valid
1515
@RequestMapping("/user")
1616
class UserController(
1717
private val changePasswordService: ChangePasswordService,
18-
private val uploadProfileService: UploadProfileService,
1918
private val getMyProfileService: GetMyProfileService,
2019
private val getAcceptedUsersService: GetAcceptedUsersService,
2120
private val acceptTeacherSignUpService: AcceptTeacherSignUpService,
@@ -44,13 +43,6 @@ class UserController(
4443
return ResponseEntity.noContent().build()
4544
}
4645

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-
5446
@PatchMapping("/profile")
5547
fun uploadProfileURL(@RequestParam("image_url") imageURL: String): ResponseEntity<Void> {
5648
uploadProfileURLService.execute(imageURL)

src/main/kotlin/com/msg/gauth/domain/user/service/UploadProfileService.kt

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)