修改变量命名
This commit is contained in:
parent
120307f346
commit
308c78a734
4
main.go
4
main.go
@ -42,8 +42,8 @@ func Run() error {
|
|||||||
return api.ResetPassword()
|
return api.ResetPassword()
|
||||||
}
|
}
|
||||||
sessionRepo := repository.NewSessionRepository(db)
|
sessionRepo := repository.NewSessionRepository(db)
|
||||||
propertyREpo := repository.NewPropertyRepository(db)
|
propertyRepo := repository.NewPropertyRepository(db)
|
||||||
ticker := task.NewTicker(sessionRepo, propertyREpo)
|
ticker := task.NewTicker(sessionRepo, propertyRepo)
|
||||||
ticker.SetupTicker()
|
ticker.SetupTicker()
|
||||||
|
|
||||||
if global.Config.Server.Cert != "" && global.Config.Server.Key != "" {
|
if global.Config.Server.Cert != "" && global.Config.Server.Key != "" {
|
||||||
|
Loading…
Reference in New Issue
Block a user