Changes Updated
This commit is contained in:
parent
bab5ecd9a4
commit
6f7bb43296
@ -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":
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user