fix: type-check compile fix for batch-save route

This commit is contained in:
Luis Gabriel Ramos Robles 2026-06-11 22:28:36 +00:00
parent 731a2c4b4a
commit 9759a8bcda

View file

@ -31,7 +31,7 @@ export async function POST(req: NextRequest) {
const prisma = getPrisma();
const result = await prisma.$transaction(async (tx) => {
const result = await prisma.$transaction(async (tx: any) => {
// Elevate privileges to admin role to bypass RLS for n8n batch operations
await tx.$executeRawUnsafe(`SET LOCAL app.current_user_role = 'admin';`);