Skip to content
Snippets Groups Projects
Commit f47d82ef authored by newb1er's avatar newb1er
Browse files

fix: typo

parent 9471dba5
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ type Tls struct {
}
type BillingServer struct {
Enabled bool `yaml:"enabled" valid:"type(bool), default(true)"`
Enable bool `yaml:"enable" valid:"type(bool), default(true)"`
HostIPv4 string `yaml:"hostIPv4,omitempty" valid:"required,host"`
Port int `yaml:"port,omitempty" valid:"optional,port"`
ListenPort int `yaml:"listenPort,omitempty" valid:"required,port"`
......
......@@ -110,7 +110,7 @@ func (a *WebuiApp) Start(tlsKeyLogPath string) {
wg := sync.WaitGroup{}
if billingServer.Enabled {
if billingServer.Enable {
wg.Add(1)
self.BillingServer = billing.OpenServer(&wg)
if self.BillingServer == nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment