summaryrefslogtreecommitdiff
path: root/src/store/modules/GlobalStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/modules/GlobalStore.js')
-rw-r--r--src/store/modules/GlobalStore.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/modules/GlobalStore.js b/src/store/modules/GlobalStore.js
index c9e92a76..879d8d89 100644
--- a/src/store/modules/GlobalStore.js
+++ b/src/store/modules/GlobalStore.js
@@ -40,8 +40,8 @@ const GlobalStore = {
(state.hostStatus = hostStateMapper(hostState))
},
actions: {
- getBmcTime({ commit }) {
- api
+ async getBmcTime({ commit }) {
+ return await api
.get('/redfish/v1/Managers/bmc')
.then(response => {
const bmcDateTime = response.data.DateTime;