From 9759a8bcda5192d107cb55a557c06aa661d010fa Mon Sep 17 00:00:00 2001 From: gabogg Date: Thu, 11 Jun 2026 22:28:36 +0000 Subject: [PATCH] fix: type-check compile fix for batch-save route --- src/app/api/sales/batch-save/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/sales/batch-save/route.ts b/src/app/api/sales/batch-save/route.ts index 9e21ad8..e7b42e8 100644 --- a/src/app/api/sales/batch-save/route.ts +++ b/src/app/api/sales/batch-save/route.ts @@ -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';`);