diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-03 17:10:44 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-03 17:10:44 +0300 |
commit | 3bce3e1f788debaf7e964655c9727a179fa78e1d (patch) | |
tree | 68ff143b2851a9ba37eb6c27b73ca4ecaec771cf /src/store/modules/HardwareStatus/FanStore.js | |
parent | c9923b6fc173fdbb4ec61dbee7285bce24a0c62c (diff) | |
download | webui-vue-3bce3e1f788debaf7e964655c9727a179fa78e1d.tar.xz |
upd serialization for new back api
Diffstat (limited to 'src/store/modules/HardwareStatus/FanStore.js')
-rw-r--r-- | src/store/modules/HardwareStatus/FanStore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/modules/HardwareStatus/FanStore.js b/src/store/modules/HardwareStatus/FanStore.js index fed3f742..e58296b5 100644 --- a/src/store/modules/HardwareStatus/FanStore.js +++ b/src/store/modules/HardwareStatus/FanStore.js @@ -54,9 +54,9 @@ const FanStore = { let url = null; if (lastHour) { url = - '/redfish/v1/TelemetryService/MetricReports/hour_data&id=fans&period=last_hour'; + '/redfish/v1/TelemetryService/MetricReports/fans&period=last_hour'; } else { - url = '/redfish/v1/TelemetryService/MetricReports/hour_data&id=fans'; + url = '/redfish/v1/TelemetryService/MetricReports/fans'; } return await api .get(url) |