Skip to content

Commit

Permalink
Merge pull request #21 from gsainfoteam/2paperstar-patch-1
Browse files Browse the repository at this point in the history
fix: notice fcm path
  • Loading branch information
2paperstar authored Feb 15, 2024
2 parents ab59f26 + 23b8af7 commit c8a2370
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/notice/notice.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export class NoticeService {
: (await this.noticeRepository.getFcmTokensByNoticeId(id)).map(
({ token }) => token,
),
{ path: `/article/${id}` },
{ path: `/notice/${id}` },
);
}

Expand Down Expand Up @@ -412,7 +412,7 @@ export class NoticeService {
imageUrl: images?.length ? images[0] : undefined,
},
(await this.noticeRepository.getAllFcmTokens()).map(({ token }) => token),
{ path: `/article/${notice.id}` },
{ path: `/notice/${notice.id}` },
);
}
}

0 comments on commit c8a2370

Please sign in to comment.