Migrate store methods to use request.Context instead of context.Context (#24836)

Этот коммит содержится в:
Ben Schumacher
2023-10-11 13:08:55 +02:00
коммит произвёл GitHub
родитель 0d5a8b8841
Коммит 13c05a571f
127 изменённых файлов: 1030 добавлений и 921 удалений

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

@@ -160,7 +160,7 @@ func completeSaml(c *Context, w http.ResponseWriter, r *http.Request) {
c.App.AddDirectChannels(c.AppContext, teamId, user)
}
case model.OAuthActionEmailToSSO:
if err = c.App.RevokeAllSessions(user.Id); err != nil {
if err = c.App.RevokeAllSessions(c.AppContext, user.Id); err != nil {
c.Err = err
return
}