mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
refactor: update viper config key for Pro edition check
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user