hidden transaction tags are not allowed when importing transactions or using the add_transaction mcp tool

This commit is contained in:
MaysWind
2025-09-20 21:22:44 +08:00
parent 05b5cab12b
commit 1a1bb6077c
4 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -957,7 +957,7 @@ func (l *UserDataCli) getUserEssentialDataForImport(c *core.CliContext, uid int6
return nil, nil, nil, nil, nil, err
}
tagMap = l.tags.GetTagNameMapByList(tags)
tagMap = l.tags.GetVisibleTagNameMapByList(tags)
return accountMap, expenseCategoryMap, incomeCategoryMap, transferCategoryMap, tagMap, nil
}