summaryrefslogtreecommitdiff
path: root/src/store
diff options
context:
space:
mode:
authorDerick Montague <derick.montague@ibm.com>2021-05-12 00:55:09 +0300
committerDerick Montague <derick.montague@ibm.com>2021-05-12 00:55:09 +0300
commit4904126c0b1d9a3aa6d8b4012a41d2b9e03e5ebc (patch)
tree9bfb5884a5ca38317616a078660652b3ea80ed63 /src/store
parent7f6edb62b81dbd989c23e32e962b00e6755fd78e (diff)
downloadwebui-vue-4904126c0b1d9a3aa6d8b4012a41d2b9e03e5ebc.tar.xz
Remove trailing forward slash from api endpoint
For consistency, I have removed the trailing / on the get boot settings request. This keeps the file value listed in the browser developer tool's network interface consistent in naming and makes debugging a better experience. Signed-off-by: Derick Montague <derick.montague@ibm.com> Change-Id: I8f2e5b58e12bba1c17c8a483f638e1d727883c6a
Diffstat (limited to 'src/store')
-rw-r--r--src/store/modules/Control/BootSettingsStore.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/modules/Control/BootSettingsStore.js b/src/store/modules/Control/BootSettingsStore.js
index 99542b88..7a36dd84 100644
--- a/src/store/modules/Control/BootSettingsStore.js
+++ b/src/store/modules/Control/BootSettingsStore.js
@@ -32,7 +32,7 @@ const BootSettingsStore = {
actions: {
async getBootSettings({ commit }) {
return await api
- .get('/redfish/v1/Systems/system/')
+ .get('/redfish/v1/Systems/system')
.then(({ data: { Boot } }) => {
commit(
'setBootSourceOptions',