diff --git a/ccp/js/methodeditorcontroller.js b/ccp/js/methodeditorcontroller.js index e534c30..84fe2f8 100644 --- a/ccp/js/methodeditorcontroller.js +++ b/ccp/js/methodeditorcontroller.js @@ -202,7 +202,7 @@ class CCPMethodEditorController extends HTMLElement{ this.#boot.secureFetch(url, args).then( (resp)=>{ if(resp.status === 201 || resp.status === 204){ - return resp.text() + return resp.json() }else throw "Error saving process: " + resp.status }).then(data=>{ if(!this.#isupdate){