mirror of
https://github.com/linux-do/new-api.git
synced 2025-11-09 07:33:41 +08:00
chore: 优化relay代码
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user