code refactor

This commit is contained in:
MaysWind
2024-07-09 00:06:18 +08:00
parent a371058096
commit 3eac9af403
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -628,7 +628,7 @@ func (l *UserDataCli) getUserEssentialData(uid int64, username string) (accountM
tagMap = l.tags.GetTagMapByList(tags)
tagIndexs, err = l.tags.GetAllTagIdsOfAllTransactions(nil, uid)
tagIndexs, err = l.tags.GetAllTagIdsMapOfAllTransactions(nil, uid)
if err != nil {
log.BootErrorf("[user_data.getUserEssentialData] failed to get tag index for user \"%s\", because %s", username, err.Error())