From d61994fe12337797dbfcc5359388267482f1a98f Mon Sep 17 00:00:00 2001 From: Douglas Barone Date: Fri, 15 Jan 2021 15:33:09 -0400 Subject: [PATCH] Remove unused vars --- server/src/lib/paloalto.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/lib/paloalto.js b/server/src/lib/paloalto.js index 887fa58..2af4729 100644 --- a/server/src/lib/paloalto.js +++ b/server/src/lib/paloalto.js @@ -18,7 +18,7 @@ const httpsAgent = new https.Agent({ rejectUnauthorized: false }) -async function getDevicesWithUser(network) { +async function getDevicesWithUser() { const now = new Date() const timeoutThreshold = subMinutes(now, TIMEOUT_IN_MINUTES) @@ -57,7 +57,7 @@ function createCommand(devices) { } async function updateUserIdMappings() { - const allDevices = await getDevicesWithUser(process.env.PA_NET) + const allDevices = await getDevicesWithUser() const pAHosts = await prisma.pAHost.findMany()