mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
fix #16: importing lowecase type
This commit is contained in:
@@ -65,6 +65,12 @@ export const EXPORT_AND_IMPORT_FIELD_MAP: Record<string, ExportImportFieldSettin
|
|||||||
type: {
|
type: {
|
||||||
code: "type",
|
code: "type",
|
||||||
type: "string",
|
type: "string",
|
||||||
|
export: async function (userId: string, value: string | null) {
|
||||||
|
return value ? value.toLowerCase() : ""
|
||||||
|
},
|
||||||
|
import: async function (userId: string, value: string) {
|
||||||
|
return value.toLowerCase()
|
||||||
|
},
|
||||||
},
|
},
|
||||||
note: {
|
note: {
|
||||||
code: "note",
|
code: "note",
|
||||||
|
|||||||
Reference in New Issue
Block a user