From effd88adfe6f5d6f1b3885c830dd7f3b96619dd3 Mon Sep 17 00:00:00 2001 From: AyrisAI Date: Thu, 14 May 2026 22:44:59 +0300 Subject: [PATCH] Fix NotificationLog TS error with casting --- app/api/webhooks/mail-signal/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/webhooks/mail-signal/route.ts b/app/api/webhooks/mail-signal/route.ts index 27eaecc..41577c2 100644 --- a/app/api/webhooks/mail-signal/route.ts +++ b/app/api/webhooks/mail-signal/route.ts @@ -91,7 +91,7 @@ export async function POST(request: Request) { } // 5. Bildirim Logu - await prisma.notificationLog.create({ + await (prisma as any).notificationLog.create({ data: { mailbox: to, sender: mailData.from,