Skip to content

Commit

Permalink
[PDS-56] feat: notification message body 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
dangnak2 committed Dec 3, 2023
1 parent e765184 commit afc8f47
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class PushNotificationService {
@Transactional
public void sendNotification(String category, String type, User user) throws IOException {
String title = getTitle(category, type);
String messageBody = title + category + type;
String messageBody = category + type;
if (user.getFcmToken() != null) {
FcmMessage fcmMessage = FcmMessage.makeMessage(user.getFcmToken(), title, messageBody);
Response response = sendMessage(objectMapper.writeValueAsString(fcmMessage));
Expand Down

0 comments on commit afc8f47

Please sign in to comment.