From b91f381ca11d856acd490c5cf3ad1133d9b85ad8 Mon Sep 17 00:00:00 2001 From: Bhaskar Date: Tue, 18 Feb 2025 16:24:28 +0530 Subject: [PATCH] chnages --- src/controllers/tanksController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/tanksController.js b/src/controllers/tanksController.js index 9b538b13..b980debe 100644 --- a/src/controllers/tanksController.js +++ b/src/controllers/tanksController.js @@ -2421,7 +2421,7 @@ const sendNotification = async (customerId, fcmIds, title, body) => { const response = await admin.messaging().send({ notification: { title, body }, token, - data: { target: "tank_levels" }, + data: { target: "/tank_levels" }, }); console.log(`Notification sent successfully to token: ${token}`, response);