Content-Type fixes in client4.ts and remote_cluster.go (#27887)

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Miguel de la Cruz <miguel@mcrx.me>
Этот коммит содержится в:
Caleb Roseland
2024-09-12 10:21:06 -05:00
коммит произвёл GitHub
родитель b94a11e591
Коммит 84a0c09d56
4 изменённых файлов: 18 добавлений и 9 удалений

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

@@ -605,7 +605,7 @@ func TestDeleteRemoteCluster(t *testing.T) {
require.Zero(t, initialRC.DeleteAt)
resp, err := th.SystemAdminClient.DeleteRemoteCluster(context.Background(), rc.RemoteId)
CheckNoContentStatus(t, resp)
CheckOKStatus(t, resp)
require.NoError(t, err)
deletedRC, appErr := th.App.GetRemoteCluster(rc.RemoteId)