Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

운영 서버 배포 #253

Merged
merged 4 commits into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class S3Service {

private final S3Client s3Client;

private static final String BUCKET_NAME = "kkeujeok-image-bucket";
private static final String BUCKET_NAME = "kkeujeok-s3-images-bucket";
private static final String IMAGE_PATH = "challenge-images/";
private static final String S3_URL_FORMAT = "https://%s.s3.amazonaws.com/%s";
private static final String IMAGE_EXTENSION = ".jpg";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ public void accept(String email, Long followId) {
Member fromMember = followRepository.findById(followId).orElseThrow(AlreadyFriendsException::new)
.getFromMember();

String followAcceptMessage = String.format(FOLLOW_ACCEPT_MESSAGE_TEMPLATE, fromMember.getNickname(),
toMember.getNickname());
String followAcceptMessage = String.format(FOLLOW_ACCEPT_MESSAGE_TEMPLATE, toMember.getNickname(),
fromMember.getNickname());
notificationService.sendNotification(fromMember, followAcceptMessage);
}

Expand Down
Loading