diff options
author | Derick Montague <derick.montague@ibm.com> | 2021-05-12 00:55:09 +0300 |
---|---|---|
committer | Derick Montague <derick.montague@ibm.com> | 2021-05-12 00:55:09 +0300 |
commit | 4904126c0b1d9a3aa6d8b4012a41d2b9e03e5ebc (patch) | |
tree | 9bfb5884a5ca38317616a078660652b3ea80ed63 | |
parent | 7f6edb62b81dbd989c23e32e962b00e6755fd78e (diff) | |
download | webui-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
-rw-r--r-- | src/store/modules/Control/BootSettingsStore.js | 2 |
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', |