mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Cfg: Deduplicate DefaultOrgID code (#93588)
Cfg: Expose DefaultOrgID function
This commit is contained in:
@@ -40,7 +40,7 @@ func ProvideExtSvcAccountsService(acSvc ac.Service, cfg *setting.Cfg, bus bus.Bu
|
||||
logger := log.New("serviceauth.extsvcaccounts")
|
||||
esa := &ExtSvcAccountsService{
|
||||
acSvc: acSvc,
|
||||
defaultOrgID: extsvcauth.DefaultOrgID(cfg),
|
||||
defaultOrgID: cfg.DefaultOrgID(),
|
||||
logger: logger,
|
||||
saSvc: saSvc,
|
||||
features: features,
|
||||
|
||||
Reference in New Issue
Block a user