diff --git a/core/utils/system.go b/core/utils/system.go index 9b161f11..6e501116 100644 --- a/core/utils/system.go +++ b/core/utils/system.go @@ -3,5 +3,5 @@ package utils import "github.com/spf13/viper" func IsPro() bool { - return viper.GetString("info.edition") == "global.edition.pro" + return viper.GetString("edition") == "global.edition.pro" }