notification-bug-fix #105

Merged
dhanshas merged 55 commits from notification-bug-fix into dev 2025-08-20 13:22:29 +00:00
Showing only changes of commit 59d8df180e - Show all commits

View File

@ -4,6 +4,7 @@ import * as admin from "firebase-admin";
const app = getAdmin();
const logger = getLogger();
const kTrainerRole = 'Trainer';
interface MembershipData {
id?: string;
@ -545,7 +546,7 @@ async function sendTrainerNotifications(
try {
const trainerName = await getTrainerName(assignment.trainerId);
const trainerUserId = await getTrainerUserId(assignment.trainerId);
const kTrainerRole = 'Trainer';
const notifType =
notificationType === "expired"