update code ngu
This commit is contained in:
@@ -80,7 +80,7 @@ export class CronService {
|
||||
}
|
||||
|
||||
// cron every 1 minute to check payment status where created_at is more than 15 minutes
|
||||
@Cron(CronExpression.EVERY_MINUTE)
|
||||
@Cron(CronExpression.EVERY_10_MINUTES)
|
||||
async checkPaymentStatus() {
|
||||
Logger.log('Checking payment status', 'checkPaymentStatus')
|
||||
const payments = await this.prisma.payment.findMany({
|
||||
|
||||
Reference in New Issue
Block a user