Fix undefined notificationResult and bypass Prisma TS errors with casting

This commit is contained in:
AyrisAI
2026-05-14 22:44:34 +03:00
parent 7f1a81977f
commit 8aa8410d48
2 changed files with 7 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ export async function PATCH(req: Request) {
telegramEnabled,
whatsappNumber,
whatsappEnabled
}
} as any
});
return NextResponse.json(user);