Fix NotificationLog TS error with casting
This commit is contained in:
@@ -91,7 +91,7 @@ export async function POST(request: Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 5. Bildirim Logu
|
// 5. Bildirim Logu
|
||||||
await prisma.notificationLog.create({
|
await (prisma as any).notificationLog.create({
|
||||||
data: {
|
data: {
|
||||||
mailbox: to,
|
mailbox: to,
|
||||||
sender: mailData.from,
|
sender: mailData.from,
|
||||||
|
|||||||
Reference in New Issue
Block a user