Skip to content

Commit

Permalink
fixup part detail
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall committed Sep 6, 2024
1 parent 8b528f9 commit aea251d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func readCSVWithJSONTags(filePath string) (map[string]bool, []map[string][]strin
components := strings.Split(column, ".attr0=")
column = components[0]
if column == "field_part_detail" {
str = fmt.Sprintf(`{"number":"%s","attr0":"%s"}`, str, components[1])
str = fmt.Sprintf(`{"number":"%s","type":"%s"}`, str, components[1])

} else {
str = fmt.Sprintf(`{"value":"%s","attr0":"%s"}`, str, components[1])
Expand Down

0 comments on commit aea251d

Please sign in to comment.