[MM-57415] Removed unused IsOAuth field from AppError (#26578)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ed58b10486
Коммит
d2ce70b4b1
@@ -404,7 +404,6 @@ func (h Handler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
||||
c.Err.WipeDetailed()
|
||||
c.Err.StatusCode = 500
|
||||
c.Err.Where = ""
|
||||
c.Err.IsOAuth = false
|
||||
}
|
||||
|
||||
if IsAPICall(c.App, r) || IsWebhookCall(c.App, r) || IsOAuthAPICall(c.App, r) || r.Header.Get("X-Mobile-App") != "" {
|
||||
|
||||
Ссылка в новой задаче
Block a user