From ffc4e783a8f197b88d703d96b5c90662746e77cd Mon Sep 17 00:00:00 2001 From: Jonathan Barrow Date: Sat, 4 Mar 2023 15:48:08 -0500 Subject: [PATCH] Removed unused variables from NASC --- src/services/nasc/routes/ac.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/services/nasc/routes/ac.ts b/src/services/nasc/routes/ac.ts index 1351dfd..5308627 100644 --- a/src/services/nasc/routes/ac.ts +++ b/src/services/nasc/routes/ac.ts @@ -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);