mirror of
https://github.com/linkwarden/linkwarden.git
synced 2026-03-03 03:47:02 +00:00
minor fix
This commit is contained in:
@@ -43,6 +43,9 @@ export async function trialEndEmailWorker() {
|
||||
const candidates = await prisma.user.findMany({
|
||||
where: {
|
||||
trialEndEmailSent: false,
|
||||
emailVerified: {
|
||||
not: null,
|
||||
},
|
||||
createdAt: { lte: cutoff, gte: new Date("2025-09-25") }, // safety upper bound to avoid processing old users
|
||||
},
|
||||
orderBy: { createdAt: "asc" },
|
||||
|
||||
Reference in New Issue
Block a user