expiry-using-payment (#80)
All checks were successful
Deploy FitLien services to Dev / Deploy to Dev (push) Successful in 4m5s
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:
parent
ef166a209c
commit
cba945c282
@ -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();
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user