diff --git a/functions/src/notifications/membershipStatusNotifications.ts b/functions/src/notifications/membershipStatusNotifications.ts index ef0c238..bc908e2 100644 --- a/functions/src/notifications/membershipStatusNotifications.ts +++ b/functions/src/notifications/membershipStatusNotifications.ts @@ -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();