Skip to content

Commit

Permalink
v1.2.2 배포 (#254)
Browse files Browse the repository at this point in the history
* [CHORE] #249 푸시 알림 텍스트 변경

* #252 [FIX] 푸시 알림 텍스트 잘못된거 수정
  • Loading branch information
yeseul106 authored May 29, 2024
1 parent 0f061da commit e92beb9
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 e92beb9

Please sign in to comment.