diff --git a/web/src/admin/IdentityDetails.vue b/web/src/admin/IdentityDetails.vue
index 243b0b0..a1d4573 100644
--- a/web/src/admin/IdentityDetails.vue
+++ b/web/src/admin/IdentityDetails.vue
@@ -88,7 +88,7 @@
{{ credential.type.filter(t => t !== "VerifiableCredential").join(', ') }} |
{{ credential.issuer }} |
- |
@@ -173,12 +173,12 @@ export default {
this.fetchData()
})
},
- deleteCredential(did, credentialId) {
+ deleteCredential(credentialId) {
if (confirm("Are you sure you want to delete this credential?") !== true) {
return
}
this.fetchError = undefined
- this.$api.delete(`api/proxy/internal/vcr/v2/holder/${did}/vc/${encodeURIComponent(credentialId)}`)
+ this.$api.delete(`api/proxy/internal/vcr/v2/holder/${encodeURIComponent(this.$route.params.subjectID)}/vc/${encodeURIComponent(credentialId)}`)
.then(data => {
if (data.reason) {
this.fetchError = data.reason