fix #16: importing lowecase type

This commit is contained in:
Vasily Zubarev
2025-04-08 22:40:39 +02:00
parent a9843b0446
commit 88ee3724b2

View File

@@ -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",