Skip to content

Commit ed8bba0

Browse files
committed
minor
1 parent 9b4686a commit ed8bba0

File tree

1 file changed

+1
-4
lines changed
  • services/static-webserver/client/source/class/osparc/store

1 file changed

+1
-4
lines changed

services/static-webserver/client/source/class/osparc/store/Study.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -165,10 +165,7 @@ qx.Class.define("osparc.store.Study", {
165165
},
166166

167167
patchTemplateType: function(templateId, templateType) {
168-
const patchData = {
169-
"templateType": templateType,
170-
};
171-
return this.patchStudy(templateId, patchData);
168+
return this.patchStudyData(templateId, "templateType", templateType);
172169
},
173170

174171
updateMetadata: function(studyId, metadata) {

0 commit comments

Comments
 (0)