diff --git a/src/id-card/index.html b/src/id-card/index.html index 1d55f54..03932df 100644 --- a/src/id-card/index.html +++ b/src/id-card/index.html @@ -223,7 +223,7 @@ }, saveIdCard: function () { console.log('saveIdCard'); - this.idCardToIssue['revocationKey'] = luxon.DateTime.now().toUTC().toMillis().toString(); + this.idCardToIssue['revocationKey'] = this.idCardToIssue.number; const self = this; return irmaIssueCredential(CREDENTIAL.ID_CARD_ID_CARD, this.idCardToIssue, HEADER_MESSAGES.ISSUE_ID_CARD_ID_CARD) .then((_) => {