master^2
Bhaskar 8 months ago
parent 27f284265e
commit dc57ddb153

@ -2418,7 +2418,7 @@ const sendNotification = async (customerId, fcmIds, title, body) => {
// } // }
// Send notifications // Send notifications
const notificationPromises = validTokens.map(async (token) => { const notificationPromises = flatTokens.map(async (token) => {
try { try {
const response = await admin.messaging().send({ const response = await admin.messaging().send({
notification: { title, body }, notification: { title, body },

Loading…
Cancel
Save