修改变量命名

This commit is contained in:
dushixiang 2021-03-21 15:28:21 +08:00
parent 120307f346
commit 308c78a734

View File

@ -42,8 +42,8 @@ func Run() error {
return api.ResetPassword()
}
sessionRepo := repository.NewSessionRepository(db)
propertyREpo := repository.NewPropertyRepository(db)
ticker := task.NewTicker(sessionRepo, propertyREpo)
propertyRepo := repository.NewPropertyRepository(db)
ticker := task.NewTicker(sessionRepo, propertyRepo)
ticker.SetupTicker()
if global.Config.Server.Cert != "" && global.Config.Server.Key != "" {