Remove unused vars

This commit is contained in:
Douglas Barone 2021-01-15 15:33:09 -04:00
parent 6c40b80889
commit d61994fe12

View File

@ -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()