aboutsummaryrefslogtreecommitdiffstats
path: root/ui-react/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'ui-react/src/api')
-rw-r--r--ui-react/src/api/TemplateMenuService.js (renamed from ui-react/src/api/TemplateMenu.js)6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui-react/src/api/TemplateMenu.js b/ui-react/src/api/TemplateMenuService.js
index 6bc60da5c..5d3f29a80 100644
--- a/ui-react/src/api/TemplateMenu.js
+++ b/ui-react/src/api/TemplateMenuService.js
@@ -20,9 +20,9 @@
*
*/
-export default class TemplateMenu {
- static getToscaModals() {
- return fetch('restservices/clds/v2/loop/tosca/models', { method: 'GET', credentials: 'same-origin', })
+export default class TemplateMenuService {
+ static getToscaModels() {
+ return fetch('restservices/clds/v2/loop/tosca/models', { method: 'GET', credentials: 'same-origin' })
.then(function (response) {
console.debug("getToscaModels response received: ", response.status);
if (response.ok) {