Chore: Add context to star and stats (#39591)

* Add context to star and stats

* Use WithTransactionalDbSession

* Add additional ctx

* Remove convey

* Fix star handler name

* Use WithDbSession, use DispatchCtx

* Remove xorm from star
This commit is contained in:
idafurjes
2021-09-28 17:54:45 +02:00
committed by GitHub
parent 580cdc46fc
commit b255c1b992
11 changed files with 71 additions and 67 deletions
+1
View File
@@ -116,6 +116,7 @@ func newSQLStore(cfg *setting.Cfg, cacheService *localcache.CacheService, bus bu
ss.addDashboardACLQueryAndCommandHandlers()
ss.addQuotaQueryAndCommandHandlers()
ss.addOrgUsersQueryAndCommandHandlers()
ss.addStarQueryAndCommandHandlers()
// if err := ss.Reset(); err != nil {
// return nil, err