summaryrefslogtreecommitdiff
path: root/src/store/modules/Configuration/NetworkSettingsStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/modules/Configuration/NetworkSettingsStore.js')
-rw-r--r--src/store/modules/Configuration/NetworkSettingsStore.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/modules/Configuration/NetworkSettingsStore.js b/src/store/modules/Configuration/NetworkSettingsStore.js
index 3b1f2320..f6912c87 100644
--- a/src/store/modules/Configuration/NetworkSettingsStore.js
+++ b/src/store/modules/Configuration/NetworkSettingsStore.js
@@ -13,8 +13,8 @@ const NetworkSettingsStore = {
(state.ethernetData = ethernetData)
},
actions: {
- getEthernetData({ commit }) {
- api
+ async getEthernetData({ commit }) {
+ return await api
.get('/redfish/v1/Managers/bmc/EthernetInterfaces')
.then(response =>
response.data.Members.map(