fix: clear channel name in user logs
This commit is contained in:
@@ -43,6 +43,7 @@ const (
|
|||||||
|
|
||||||
func formatUserLogs(logs []*Log) {
|
func formatUserLogs(logs []*Log) {
|
||||||
for i := range logs {
|
for i := range logs {
|
||||||
|
logs[i].ChannelName = ""
|
||||||
var otherMap map[string]interface{}
|
var otherMap map[string]interface{}
|
||||||
otherMap = common.StrToMap(logs[i].Other)
|
otherMap = common.StrToMap(logs[i].Other)
|
||||||
if otherMap != nil {
|
if otherMap != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user