diff --git a/controller/pricing.go b/controller/pricing.go index cea24d7b..9862bb2f 100644 --- a/controller/pricing.go +++ b/controller/pricing.go @@ -16,7 +16,7 @@ func GetPricing(c *gin.Context) { } var group string if exists { - user, err := model.GetChannelById(userId.(int), false) + user, err := model.GetUserById(userId.(int), false) if err == nil { group = user.Group }