fix: clear channel name in user logs

This commit is contained in:
1808837298@qq.com
2025-01-27 13:31:24 +08:00
parent 2aca637b2a
commit c511c7f034

View File

@@ -43,6 +43,7 @@ const (
func formatUserLogs(logs []*Log) {
for i := range logs {
logs[i].ChannelName = ""
var otherMap map[string]interface{}
otherMap = common.StrToMap(logs[i].Other)
if otherMap != nil {