Bulk ignore empty CSV columns

This commit is contained in:
Eli Ribble 2026-02-14 15:42:59 +00:00
parent 66c9b40ead
commit 0659b8993d
No known key found for this signature in database

View file

@ -178,6 +178,9 @@ func parseFile(ctx context.Context, txn bob.Tx, file models.FileuploadFile) ([]*
}
for i, col := range row {
hdr := headers[i]
if col == "" {
continue
}
switch hdr {
case headerAddressCity:
setter.AddressCity = omit.From(col)