Kaynağa Gözat

fix: clear channel name in user logs

[email protected] 11 ay önce
ebeveyn
işleme
c511c7f034
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      model/log.go

+ 1 - 0
model/log.go

@@ -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 {