Move cluster, webhub and store out of Server (#20899)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
203df2f537
Коммит
5e69c6b02f
@@ -938,7 +938,7 @@ func getGroups(c *Context, w http.ResponseWriter, r *http.Request) {
|
||||
err error
|
||||
)
|
||||
if c.Params.IncludeTotalCount {
|
||||
totalCount, cerr := c.App.Srv().Store.Group().GroupCount()
|
||||
totalCount, cerr := c.App.Srv().Store().Group().GroupCount()
|
||||
if cerr != nil {
|
||||
c.Err = model.NewAppError("Api4.getGroups", "api.custom_groups.count_err", nil, "", http.StatusInternalServerError).Wrap(cerr)
|
||||
return
|
||||
|
||||
Ссылка в новой задаче
Block a user