diff options
author | Gervais-Martial Ngueko <gervais-martial.ngueko@intl.att.com> | 2019-11-06 16:20:19 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-11-06 16:20:19 +0000 |
commit | ad6322617d0a3630177de53caf04cec51c44464c (patch) | |
tree | 72ab3460af202fb5125ea28df74d3f5d479233ea /ui-react/src/api | |
parent | 5d48ab5ace51317e9d73bf246c1befe4442a65ad (diff) | |
parent | 81f5cab8902c7221013a751c72f3634b429fde29 (diff) |
Merge "Upgrade the libs"
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) { |