mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 13:25:18 +00:00
fix #11: unable to delete category
This commit is contained in:
@@ -47,6 +47,7 @@ export async function GET(request: Request) {
|
||||
value = transaction[field.code as keyof typeof transaction] ?? ""
|
||||
}
|
||||
|
||||
// Check if the field has a special export rules
|
||||
const exportFieldSettings = EXPORT_AND_IMPORT_FIELD_MAP[field.code]
|
||||
if (exportFieldSettings && exportFieldSettings.export) {
|
||||
row[field.code] = await exportFieldSettings.export(user.id, value)
|
||||
|
||||
Reference in New Issue
Block a user