Skip to content

Commit

Permalink
Feat. file UUID 6자 사용하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Miensoap committed Jun 20, 2024
1 parent e117105 commit 669badd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BE/src/main/java/team07/airbnb/service/S3Service.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ private Date getExpiration() {
}

private String createFileId() {
return UUID.randomUUID().toString();
return UUID.randomUUID().toString().substring(0,6);
}

private String createPath(String prefix, String fileName) {
Expand Down

0 comments on commit 669badd

Please sign in to comment.