fix: change xlsx import to namespace in sales import route

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

View file

@ -1,6 +1,6 @@
import { NextRequest, NextResponse } from 'next/server';
import { withAuth } from '@/lib/api-guards';
import XLSX from 'xlsx';
import * as XLSX from 'xlsx';
export const POST = withAuth(async (req, { session, prisma }) => {
try {