fix(core): update
This commit is contained in:
parent
1ef3615a49
commit
7eff6ea36a
@ -31,10 +31,8 @@ export class Cert extends plugins.smartdata.SmartDataDbDoc<Cert> implements inte
|
|||||||
|
|
||||||
constructor(optionsArg: ICert) {
|
constructor(optionsArg: ICert) {
|
||||||
super();
|
super();
|
||||||
this.created = optionsArg.created;
|
Object.keys(optionsArg).forEach(key => {
|
||||||
this.domainName = optionsArg.domainName;
|
this[key] = optionsArg[key];
|
||||||
this.privateKey = optionsArg.privateKey;
|
});
|
||||||
this.publicKey = optionsArg.publicKey;
|
|
||||||
this.csr = optionsArg.csr;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user