Automatic Merge
Этот коммит содержится в:
Mattermost Build
2026-06-02 20:24:05 +02:00
коммит произвёл GitHub
родитель 24b6762dfb
Коммит d00e9d48d3
2 изменённых файлов: 61 добавлений и 0 удалений

Просмотреть файл

@@ -137,6 +137,8 @@ func getTeamsForScheme(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
c.App.SanitizeTeams(*c.AppContext.Session(), teams)
js, err := json.Marshal(teams)
if err != nil {
c.Err = model.NewAppError("getTeamsForScheme", "api.marshal_error", nil, "", http.StatusInternalServerError).Wrap(err)