ashok 9 months ago
commit d2f695b728

@ -2245,7 +2245,7 @@ const sendNotification = async (fcmIds, title, body) => {
notification: { title, body }, notification: { title, body },
token, token,
data: { data: {
'target': '/screen', 'target': 'tank_levels',
}, },
}); });
console.log(`Notification sent successfully to token: ${token}`, response); console.log(`Notification sent successfully to token: ${token}`, response);

Loading…
Cancel
Save