Removed unused variables from NASC

This commit is contained in:
Jonathan Barrow
2023-03-04 15:48:08 -05:00
parent 66f6dfc5df
commit ffc4e783a8

View File

@@ -1,5 +1,4 @@
import express from 'express';
import fs from 'fs-extra';
import util from '@util';
import database from '@database';
import cache from '@cache';
@@ -29,7 +28,7 @@ router.post('/', async (request, response) => {
});
/**
*
*
* @param {express.Request} request
*/
async function processLoginRequest(request) {
@@ -53,8 +52,6 @@ async function processLoginRequest(request) {
const { service_name, ip, port } = server;
const cryptoPath = `${__dirname}/../../../../certs/nex/${service_name}`;
const publicKey = await cache.getNEXPublicKey(service_name);
const secretKey = await cache.getNEXSecretKey(service_name);