summaryrefslogtreecommitdiff
path: root/src/store/modules/AccessControl/SslCertificatesStore.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/modules/AccessControl/SslCertificatesStore.js')
-rw-r--r--src/store/modules/AccessControl/SslCertificatesStore.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/store/modules/AccessControl/SslCertificatesStore.js b/src/store/modules/AccessControl/SslCertificatesStore.js
index ef4afdbb..71304b5a 100644
--- a/src/store/modules/AccessControl/SslCertificatesStore.js
+++ b/src/store/modules/AccessControl/SslCertificatesStore.js
@@ -48,8 +48,8 @@ const SslCertificatesStore = {
}
},
actions: {
- getCertificates({ commit }) {
- api
+ async getCertificates({ commit }) {
+ return await api
.get('/redfish/v1/CertificateService/CertificateLocations')
.then(({ data: { Links: { Certificates } } }) =>
Certificates.map(certificate => certificate['@odata.id'])