|
|
@@ -73,7 +73,7 @@ func SetApiRouter(router *gin.Engine) {
|
|
|
{
|
|
|
channelRoute.GET("/", controller.GetAllChannels)
|
|
|
channelRoute.GET("/search", controller.SearchChannels)
|
|
|
- channelRoute.GET("/models", controller.ListModels)
|
|
|
+ channelRoute.GET("/models", controller.ChannelListModels)
|
|
|
channelRoute.GET("/:id", controller.GetChannel)
|
|
|
channelRoute.GET("/test", controller.TestAllChannels)
|
|
|
channelRoute.GET("/test/:id", controller.TestChannel)
|