From 75ba9db99432d26d830327d9edb158ed24c635cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agust=C3=ADn=20Busso?= <90727999+agustinbusso@users.noreply.github.com> Date: Fri, 6 Oct 2023 09:42:37 -0300 Subject: [PATCH] Use endpoint instead passing the diff over the socket --- resources/js/processes/scripts/components/ScriptEditor.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/js/processes/scripts/components/ScriptEditor.vue b/resources/js/processes/scripts/components/ScriptEditor.vue index 03032ee282..d4b7a6f82a 100644 --- a/resources/js/processes/scripts/components/ScriptEditor.vue +++ b/resources/js/processes/scripts/components/ScriptEditor.vue @@ -643,8 +643,7 @@ export default { this.progress.progress = 0; window.ProcessMaker.alert(response.data.message, "danger"); } else { - this.newCode = response.data.diff; - // this.getScriptVersion(response.data.scriptVersionId); + this.getScriptVersion(response.data.scriptVersionId); this.progress.progress = 100; setTimeout(() => { this.loading = false;