ccp-features #8

Merged
m.lettere merged 44 commits from ccp-features into master 2023-06-28 19:18:25 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit f57a1bd9f2 - Show all commits

View File

@ -202,7 +202,7 @@ class CCPMethodEditorController extends HTMLElement{
this.#boot.secureFetch(url, args).then( this.#boot.secureFetch(url, args).then(
(resp)=>{ (resp)=>{
if(resp.status === 201 || resp.status === 204){ if(resp.status === 201 || resp.status === 204){
return resp.text() return resp.json()
}else throw "Error saving process: " + resp.status }else throw "Error saving process: " + resp.status
}).then(data=>{ }).then(data=>{
if(!this.#isupdate){ if(!this.#isupdate){