🔧 refactor(auth, channel, context): improve context setup and validation for multi-key channels

This commit is contained in:
CaIon committed 2025-07-06 12:37:56 +08:00
1 parent 896f39068d
commit cf11a22c3a
15 files changed
+294 -114

No files matched your search

+1 -1
View File
@@ -50,7 +50,7 @@ func formatUserLogs(logs []*Log) {
for i := range logs {
logs[i].ChannelName = ""
var otherMap map[string]interface{}
otherMap = common.StrToMap(logs[i].Other)
otherMap, _ = common.StrToMap(logs[i].Other)
if otherMap != nil {
// delete admin
delete(otherMap, "admin_info")