diff --git a/controller/relay-utils.go b/controller/relay-utils.go index c513883e..0a94fffe 100644 --- a/controller/relay-utils.go +++ b/controller/relay-utils.go @@ -45,6 +45,8 @@ func fetchChannel(c *gin.Context, modelName string) (channel *model.Channel, pas return } + c.Set("channel_id", channel.Id) + return }