MM-68526: Harden remote cluster patch response (#36288) (#36313)

Automatic Merge
Этот коммит содержится в:
Mattermost Build
2026-04-28 20:47:45 +02:00
коммит произвёл GitHub
родитель 95be6eaf86
Коммит 6fd49f56b5
2 изменённых файлов: 10 добавлений и 3 удалений

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

@@ -655,6 +655,8 @@ func patchRemoteCluster(c *Context, w http.ResponseWriter, r *http.Request) {
return
}
updatedRC.Sanitize()
auditRec.Success()
auditRec.AddEventResultState(updatedRC)