fix: align admin behavior and Kratos integrations
This commit is contained in:
@@ -9,12 +9,12 @@ import (
|
||||
|
||||
type SystemService struct {
|
||||
uc *biz.SystemUsecase
|
||||
config *conf.AdminBackend
|
||||
runtime *conf.Runtime
|
||||
settings *SettingsService
|
||||
}
|
||||
|
||||
func NewSystemService(uc *biz.SystemUsecase, config *conf.AdminBackend, settings *SettingsService) *SystemService {
|
||||
return &SystemService{uc: uc, config: config, settings: settings}
|
||||
func NewSystemService(uc *biz.SystemUsecase, runtime *conf.Runtime, settings *SettingsService) *SystemService {
|
||||
return &SystemService{uc: uc, runtime: runtime, settings: settings}
|
||||
}
|
||||
|
||||
func (s *SystemService) IsInitialized(ctx context.Context) (bool, error) {
|
||||
|
||||
Reference in New Issue
Block a user