Default header to tag type

This commit is contained in:
Eli Ribble 2026-04-16 00:18:42 +00:00
parent dfe7d3650f
commit 0e165b57d0
No known key found for this signature in database

View file

@ -323,7 +323,7 @@ func parseHeaders(row []string) ([]headerPoolEnum, []string) {
ht := strings.TrimSpace(h)
hl := strings.ToLower(ht)
log.Debug().Str("header", hl).Msg("Saw CSV header")
var type_ headerPoolEnum
var type_ headerPoolEnum = headerPoolTag
switch hl {
case "city":
type_ = headerPoolAddressLocality