This commit is contained in:
Daniel 2023-07-12 15:14:43 -04:00
parent 2d24f5dad3
commit 4d88f7856b

View File

@ -34,6 +34,7 @@ export default async function Index(
const tenMinutesAgo = new Date(Date.now() - 10 * 60 * 1000);
// Remove user's who aren't verified for more than 10 minutes
if (EmailProvider)
await prisma.user.deleteMany({
where: {
createdAt: {