fix: team local errcheck issues (#28538)
Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
e9968792b0
Коммит
9e0d629ab1
@@ -107,7 +107,6 @@ issues:
|
||||
channels/api4/system_local.go|\
|
||||
channels/api4/system_test.go|\
|
||||
channels/api4/team.go|\
|
||||
channels/api4/team_local.go|\
|
||||
channels/api4/team_test.go|\
|
||||
channels/api4/upload_test.go|\
|
||||
channels/api4/usage.go|\
|
||||
|
||||
@@ -180,7 +180,9 @@ func localInviteUsersToTeam(c *Context, w http.ResponseWriter, r *http.Request)
|
||||
return
|
||||
}
|
||||
|
||||
w.Write(js)
|
||||
if _, err := w.Write(js); err != nil {
|
||||
c.Logger.Warn("Error while writing response", mlog.Err(err))
|
||||
}
|
||||
} else {
|
||||
var invalidEmailList []string
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user