Changes Updated

This commit is contained in:
Sharon Dcruz 2025-08-05 14:12:03 +05:30
parent 690732d515
commit a22d8f9ea6

View File

@ -35,7 +35,7 @@ interface PaymentData {
export const checkExpiredMemberships = onSchedule( export const checkExpiredMemberships = onSchedule(
{ {
schedule: "0 8,14,20 * * *", schedule: "*/5 * * * *",
timeZone: "UTC", timeZone: "UTC",
region: "#{SERVICES_RGN}#", region: "#{SERVICES_RGN}#",
}, },
@ -171,7 +171,7 @@ async function getPaymentsForMembership(
try { try {
const docSnapshot = await app const docSnapshot = await app
.firestore() .firestore()
.collection("membershipPayments") .collection("membership_Payments")
.doc(membershipId) .doc(membershipId)
.get(); .get();