Changes
This commit is contained in:
parent
72ffa913ba
commit
cddb66e590
@ -10,7 +10,7 @@ import { limparDescricao } from '@/utils/categorizacaoAutomatica';
|
||||
export async function parseCSV(file: File, contaBancariaId?: string): Promise<TransacaoImportada[]> {
|
||||
return new Promise((resolve, reject) => {
|
||||
Papa.parse(file, {
|
||||
header: true,
|
||||
header: false, // tratamos manualmente o cabeçalho
|
||||
skipEmptyLines: true,
|
||||
delimiter: ';', // Suporta CSV com ponto e vírgula
|
||||
complete: (results) => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user