Changes Updated

This commit is contained in:
Sharon Dcruz 2025-08-05 20:20:15 +05:30
parent bab5ecd9a4
commit 6f7bb43296

View File

@ -240,14 +240,14 @@ function prepareNotificationMessage(
title = notification.data?.title || "Plan Expired"; title = notification.data?.title || "Plan Expired";
body = body =
notification.data?.message || notification.data?.message ||
`${notification.data?.clientName}'s subscription for plan ${notification.data?.planName} has expired.`; `${notification.data?.clientName}'s membership subscription for ${notification.data?.planName} has expired.`;
break; break;
case "plan_expiring_soon": case "plan_expiring_soon":
title = notification.data?.title || "Plan Expiring Soon"; title = notification.data?.title || "Plan Expiring Soon";
body = body =
notification.data?.message || notification.data?.message ||
`${notification.data?.clientName}'s subscription for plan ${notification.data?.planName} will expire on ${notification.data?.formattedExpiryDate}.`; `${notification.data?.clientName}'s membership subscription for ${notification.data?.planName} will expire on ${notification.data?.formattedExpiryDate}.`;
break; break;
case "schedule_update": case "schedule_update":