Skip to content

Commit

Permalink
#252 [FIX] 푸시 알림 텍스트 잘못된거 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
yeseul106 committed May 29, 2024
1 parent 684681e commit e2c0976
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/service/alarmService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const getAlarm = async (auth: number) => {
async function sendPushNotification(receiverUser: any, senderUser: any) {
if (receiverUser?.fcm_token) {
const pushTitle = `📚 '${senderUser.nickname}'님이 새로운 책을 책장에 추가했어요!`;
const pushBody = `${receiverUser.nickname}님이 어떤 책을 읽었는지 지금 바로 알아보세요`;
const pushBody = `${senderUser.nickname}님이 어떤 책을 읽었는지 지금 바로 알아보세요`;

const pushMessage = createPushMessage(
receiverUser.fcm_token,
Expand Down
2 changes: 1 addition & 1 deletion src/service/friendService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const recommendBookToFriend = async (

if (receiverUser && senderUser && receiverUser.fcm_token) {
const pushTitle = `⭐️ '${senderUser.nickname}'님이 당신에게 책을 추천했어요!`;
const pushBody = `${savedBook?.bookTitle}`;
const pushBody = `'${savedBook?.bookTitle}'`;

const pushMessage = createPushMessage(
receiverUser.fcm_token,
Expand Down

0 comments on commit e2c0976

Please sign in to comment.