Fix show certificate button returning invalid CA
When trying to download the CA certificate from the dashboard by clicking the "Show Certificate" button it will return undefined. Change-Id: Ibb884835ec9a82df715d0a6485f16124622516e0 Closes-Bug: 1769918 Story: 2003527 Task: 24806
This commit is contained in:
parent
f2f3e9ec71
commit
f40eba0371
@ -52,7 +52,7 @@
|
||||
function perform(selected) {
|
||||
// get certificate
|
||||
return magnum.showCertificate(selected.id).then(function(response) {
|
||||
textDownload.downloadTextFile(response.pem, selected.name + "_ca.pem");
|
||||
textDownload.downloadTextFile(response.data.pem, selected.name + "_ca.pem");
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user