feat: import FreePro accepte .xls, .xlsx et .csv
This commit is contained in:
@@ -2218,7 +2218,7 @@ export const appRouter = router({
|
||||
)
|
||||
.mutation(async ({ input, ctx }) => {
|
||||
const buffer = Buffer.from(input.fileBase64, "base64");
|
||||
const result = processFreeproExcel(buffer, input.moisLabel);
|
||||
const result = processFreeproExcel(buffer, input.moisLabel, input.fileName);
|
||||
|
||||
const importId = await createFreeproImport(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user