master^2
Bhaskar 8 months ago
parent c139878978
commit b91f381ca1

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

Loading…
Cancel
Save