summaryrefslogtreecommitdiffstats
path: root/ui-react/src/api
diff options
context:
space:
mode:
authorsebdet <sebastien.determe@intl.att.com>2019-11-06 11:40:46 +0100
committersebdet <sebastien.determe@intl.att.com>2019-11-06 16:35:59 +0100
commit81f5cab8902c7221013a751c72f3634b429fde29 (patch)
tree690dc159e34c703103f210b0797d08903469c2df /ui-react/src/api
parentf6b2625c5876c5ef1b8ead0b3962362fb2924f95 (diff)
Upgrade the libs
Upgrade the version of some libraries for NPM so for React UI Issue-ID: CLAMP-544 Change-Id: Ie5238c699a2b441892e6e12f3a6f17640d26b10c Signed-off-by: sebdet <sebastien.determe@intl.att.com>
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 6bc60da5..5d3f29a8 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) {