corrected a typing error
This commit is contained in:
parent
7e9057669b
commit
29f17f2380
@ -38,7 +38,7 @@ export default class Verifier {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async checkCertificate(certificate:string): Promise<certificateResponse>{
|
async checkCertificate(certificate:string): Promise<certificateResponse>{
|
||||||
let result:certificateResponse = {signature:{valid: false}, valid:{valid:false, message:'nd'}, info:{identity:{fnt:'nd',fn:'nd',gnt:'nd',gn:''nd},dob:'nd'}};
|
let result:certificateResponse = {signature:{valid: false}, valid:{valid:false, message:'nd'}, info:{identity:{fnt:'nd',fn:'nd',gnt:'nd',gn:'nd'},dob:'nd'}};
|
||||||
try {
|
try {
|
||||||
const dcc = await DCC.fromRaw(certificate);
|
const dcc = await DCC.fromRaw(certificate);
|
||||||
const signatureValidity = (await this.checkKey(dcc)).valid;
|
const signatureValidity = (await this.checkKey(dcc)).valid;
|
||||||
|
Loading…
Reference in New Issue
Block a user