Update eslint rules
This commit is contained in:
@@ -25,7 +25,6 @@ require('winston-papertrail');
|
||||
log.exitOnError = false;
|
||||
log.level = config.log.level;
|
||||
|
||||
|
||||
// Reformat logging text, due to deprecated logger usage
|
||||
const formatLogs = log.format(info => {
|
||||
info.message = `${info.message} -> ${info[SPLAT].join(', ')}`;
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
exports.verifyKey = ({name, baseUrl, keyId, nonce}) => ({
|
||||
subject: `Verify Your Key`,
|
||||
subject: 'Verify Your Key',
|
||||
text: `Hello ${name},\n\nplease click here to verify your email address:\n\n${baseUrl}/api/v1/key?op=verify&keyId=${keyId}&nonce=${nonce}`,
|
||||
});
|
||||
|
||||
exports.verifyRemove = ({name, baseUrl, keyId, nonce}) => ({
|
||||
subject: `Verify Key Removal`,
|
||||
subject: 'Verify Key Removal',
|
||||
text: `Hello ${name},\n\nplease click here to verify the removal of your email address:\n\n${baseUrl}/api/v1/key?op=verifyRemove&keyId=${keyId}&nonce=${nonce}`,
|
||||
});
|
||||
|
||||
@@ -33,6 +33,7 @@ class PGP {
|
||||
openpgp.config.show_version = false;
|
||||
openpgp.config.show_comment = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parse an ascii armored pgp key block and get its parameters.
|
||||
* @param {String} publicKeyArmored ascii armored pgp key block
|
||||
|
||||
Reference in New Issue
Block a user