Remove unused vars
This commit is contained in:
parent
6c40b80889
commit
d61994fe12
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user