File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed
services/static-webserver/client/source/class/osparc Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -278,15 +278,9 @@ qx.Class.define("osparc.form.tag.TagItem", {
278278 saveButton . addListener ( "execute" , ( ) => {
279279 if ( this . __validationManager . validate ( ) ) {
280280 const data = this . __serializeData ( ) ;
281- const params = {
282- data
283- } ;
284281 saveButton . setFetching ( true ) ;
285282 let fetch ;
286283 if ( this . isPropertyInitialized ( "id" ) ) {
287- params . url = {
288- tagId : this . getId ( )
289- } ;
290284 fetch = osparc . store . Tags . getInstance ( ) . putTag ( this . getId ( ) , data ) ;
291285 } else {
292286 fetch = osparc . store . Tags . getInstance ( ) . postTag ( data ) ;
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ qx.Class.define("osparc.store.Tags", {
9191 } ,
9292 data : updateData
9393 } ;
94- return osparc . data . Resources . getInstance ( ) . fetch ( "tags" , "update " , params )
94+ return osparc . data . Resources . getInstance ( ) . fetch ( "tags" , "put " , params )
9595 . then ( tagData => {
9696 this . __addToCache ( tagData ) ;
9797 } )
You can’t perform that action at this time.
0 commit comments