From c949b2d217cac0143752f436437af9e2c6f6513d Mon Sep 17 00:00:00 2001 From: pradeepkumar Date: Fri, 3 Apr 2026 08:57:20 +0530 Subject: [PATCH] feat: add notification title, body, and icon to webpush payload in notifications service --- src/notifications/notifications.service.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/notifications/notifications.service.ts b/src/notifications/notifications.service.ts index 1c8d9bc..bc7774e 100644 --- a/src/notifications/notifications.service.ts +++ b/src/notifications/notifications.service.ts @@ -369,6 +369,11 @@ export class NotificationsService implements OnModuleInit { }, }, webpush: { + notification: { + title: payload.title, + body: payload.body, + icon: '/assets/icons/notification-bell-icon.svg', + }, fcmOptions: { link: payload.data?.link || '/', },