-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[refactor] 삭제 요청시 Dto 대신 form-data 형식으로 변경 & url을 imageUrl로 일괄 수정
S3DeleteRequestDto 삭제. 컨트롤러에서 삭제 요구 url 데이터를 @RequestBody에서 @RequestParam으로 변경함.
- Loading branch information
Showing
3 changed files
with
5 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 0 additions & 9 deletions
9
src/main/java/com/haejwo/tripcometrue/global/s3/request/S3DeleteRequestDto.java
This file was deleted.
Oops, something went wrong.
6 changes: 3 additions & 3 deletions
6
src/main/java/com/haejwo/tripcometrue/global/s3/response/S3UploadResponseDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package com.haejwo.tripcometrue.global.s3.response; | ||
|
||
public record S3UploadResponseDto( | ||
String url | ||
String imageUrl | ||
) { | ||
public S3UploadResponseDto(String url) { | ||
this.url = url; | ||
public S3UploadResponseDto(String imageUrl) { | ||
this.imageUrl = imageUrl; | ||
} | ||
} |