chore: 优化relay代码

This commit is contained in:
CalciumIon committed 2024-08-03 16:55:29 +08:00
1 parent 0c0d6b4b0f
commit 658eba659b
2 files changed
+49 -27

No files matched your search

-1
View File
@@ -184,7 +184,6 @@ func SetupContextForSelectedChannel(c *gin.Context, channel *model.Channel, mode
if channel == nil {
return
}
c.Set("channel", channel.Type)
c.Set("channel_id", channel.Id)
c.Set("channel_name", channel.Name)
c.Set("channel_type", channel.Type)