Skip to content

Commit

Permalink
[Feat] : 이미지 삭제 api에 기본 이미지 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
wellbeing-dough committed Nov 28, 2024
1 parent 13e17d0 commit 5b65d10
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class UserImageService {
private final AmazonS3 amazonS3;
@Value("${cloud.aws.s3.bucket}")
private String bucket;
private static final String BASIC_PROFILE_IMAGE = "https://studyhub-s3.s3.ap-northeast-2.amazonaws.com/avatar_l%401x.png";
private static final String BASIC_PROFILE_IMAGE = "https://studyhub-s3-bucket.s3.ap-northeast-2.amazonaws.com/avatar_s%403x.png";

public void uploadUserImage(Long userId, MultipartFile multipartFile) throws IOException {
UserEntity user = userRepository.findById(userId).orElseThrow(UserNotFoundException::new);
Expand Down

0 comments on commit 5b65d10

Please sign in to comment.