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);