Linting fixes

This commit is contained in:
Jamie Curnow
2023-03-21 17:11:16 +10:00
parent ea61b15a40
commit c3469de61b
6 changed files with 377 additions and 398 deletions

View File

@ -22,7 +22,7 @@ module.exports = function () {
*/
create: (payload) => {
if (!config.getPrivateKey()) {
logger.error('Private key is empty!')
logger.error('Private key is empty!');
}
// sign with RSA SHA256
const options = {
@ -55,7 +55,7 @@ module.exports = function () {
*/
load: function (token) {
if (!config.getPublicKey()) {
logger.error('Public key is empty!')
logger.error('Public key is empty!');
}
return new Promise((resolve, reject) => {
try {