Skip first line
This commit is contained in:
parent
1cd2eedcb8
commit
57542b5202
@ -51,7 +51,7 @@ func (ynab *YNABImport) Import(r io.Reader) error {
|
|||||||
return fmt.Errorf("could not read from tsv: %w", err)
|
return fmt.Errorf("could not read from tsv: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, record := range csvData {
|
for _, record := range csvData[1:] {
|
||||||
accountName := record[0]
|
accountName := record[0]
|
||||||
account, err := ynab.GetAccount(accountName)
|
account, err := ynab.GetAccount(accountName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user