Linting fixes

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

No files matched your search

+2 -2
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 {