Skip to content

Commit

Permalink
chore: updated cron expression
Browse files Browse the repository at this point in the history
  • Loading branch information
hemantwasthere committed Oct 25, 2024
1 parent b8bb738 commit 31e651d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/app/api/raffle/luckyWinner/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ export async function GET() {
},
});

console.log(newLuckyWinner);

return NextResponse.json({
success: true,
message: 'Lucky winner selected successfully',
Expand Down
2 changes: 1 addition & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"crons": [
{
"path": "/api/raffle/luckyWinner",
"schedule": "17 20 * * *"
"schedule": "25 20 * * *"
}
]
}

0 comments on commit 31e651d

Please sign in to comment.