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

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

Loading…
Cancel
Save