expiry-using-payment (#80)
All checks were successful
Deploy FitLien services to Dev / Deploy to Dev (push) Successful in 4m5s

Reviewed-on: #80
Reviewed-by: Dhansh A S <dhanshas@cosq.net>
Co-authored-by: Sharon Dcruz <sharondcruz@cosq.net>
Co-committed-by: Sharon Dcruz <sharondcruz@cosq.net>
This commit is contained in:
Sharon Dcruz 2025-08-05 09:22:10 +00:00 committed by Dhansh A S
parent ef166a209c
commit cba945c282

View File

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