Compare commits

...

1 Commits

Author SHA1 Message Date
CalciumIon 314ad072ae fix: correct user retrieval in GetPricing function 2024-12-25 14:29:52 +08:00
+1 -1
View File
@@ -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
}