merge-requests/27/merge
Matthew 2021-07-02 17:17:09 -04:00
parent 4c3d8f9194
commit f41a0525d6
No known key found for this signature in database
GPG Key ID: 210AF32ADE3B5C4B
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ export default class X509_Upload extends Command {
try {
await axios.post('https://certapi.libraryofcode.org/parse', x509);
} catch {
this.error(message.channel, 'Unable to parse your x509 certificate.');
return this.error(message.channel, 'Unable to parse your x509 certificate.');
} finally {
await this.client.db.Member.updateOne({ userID: message.author.id }, { x509 });
this.success(message.channel, 'x509 certificate successfully uploaded to your account.');