From 8b31d6f1c7a6afebe622f29715a6f65bcc4c44f9 Mon Sep 17 00:00:00 2001 From: Kubosaka Date: Sun, 17 Nov 2024 01:16:22 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=95=E3=83=A9=E3=82=B0=E3=81=A7=E3=83=A1?= =?UTF-8?q?=E3=83=BC=E3=83=AB=E9=80=81=E4=BF=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/app/api/mailer/assginment/route.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/app/api/mailer/assginment/route.ts b/app/src/app/api/mailer/assginment/route.ts index 3dce183..d8321e9 100644 --- a/app/src/app/api/mailer/assginment/route.ts +++ b/app/src/app/api/mailer/assginment/route.ts @@ -124,6 +124,7 @@ export async function POST(req: NextRequest) { const usersEmails = ( await prisma.user.findMany({ + where: { isReceivedMail: true }, select: { email: true, },