Fix undefined notificationResult and bypass Prisma TS errors with casting
This commit is contained in:
@@ -28,7 +28,7 @@ export async function PATCH(req: Request) {
|
||||
telegramEnabled,
|
||||
whatsappNumber,
|
||||
whatsappEnabled
|
||||
}
|
||||
} as any
|
||||
});
|
||||
|
||||
return NextResponse.json(user);
|
||||
|
||||
Reference in New Issue
Block a user