Update eslint rules

This commit is contained in:
Thomas Oberndörfer
2019-03-06 10:21:29 +01:00
parent cee14ba99c
commit 1da22c1029
8 changed files with 35 additions and 23 deletions

View File

@@ -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}`,
});