From dae45fe928da4b258f7b7f9209580bea54dd6dd7 Mon Sep 17 00:00:00 2001 From: Douglas Barone Date: Thu, 10 Dec 2020 20:09:02 -0400 Subject: [PATCH] Extract timeout from entry --- server/src/utils/paloalto.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/src/utils/paloalto.js b/server/src/utils/paloalto.js index 1243f74..2e98b52 100644 --- a/server/src/utils/paloalto.js +++ b/server/src/utils/paloalto.js @@ -30,9 +30,11 @@ async function updateUserIdMappings() { } }) + const timeout = '3' + const entries = wifiDevices.reduce( (entries, device) => - (entries += ``), + (entries += ``), '' )