idk anymore

merge-requests/2/merge
Bsian 2020-01-01 15:32:33 +00:00
parent b2196186be
commit adad62cf96
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ export default class Parse extends Command {
return message.channel.createMessage(`***${this.client.stores.emojis.error} Cannot locate Validation directory.***`);
}
if (!dir.length) return message.channel.createMessage(`***${this.client.stores.emojis.error} Cannot locate certificate.***`);
const cert = await parseCertificate(this.client, dir[0]);
const cert = await parseCertificate(this.client, `${account.homepath}/Validation/${dir[0]}`);
// const cert = parseCert(`${account.homepath}/Validation/${dir[0]}`);
const subjectCommonName = cert.subject.commonName || 'Not Specified';
const subjectEmailAddress = cert.subject.emailAddress || 'Not Specified';